Skip to content

Conversation

@nikic
Copy link
Contributor

@nikic nikic commented Jun 13, 2024

If OnLoaded failed, return after passing the error to OnEmitted instead of also calling finalizeAsync (which would use values that have already been moved and perform another call to OnEmitted).

If OnLoaded failed, return after passing the error to OnEmitted
instead of also calling finalizeAsync (which would use values that
have already been moved and perform another call to OnEmitted).
@nikic nikic requested a review from lhames June 13, 2024 07:22
@nikic
Copy link
Contributor Author

nikic commented Jun 24, 2024

ping

@nikic
Copy link
Contributor Author

nikic commented Jul 3, 2024

ping :)

Copy link
Contributor

@lhames lhames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @nikic!

@lhames
Copy link
Contributor

lhames commented Jul 4, 2024

(And thanks for being patient with the review!)

@nikic nikic merged commit f99746f into llvm:main Jul 4, 2024
@nikic nikic deleted the orc-runtimedyld-err branch July 4, 2024 09:06
kbluck pushed a commit to kbluck/llvm-project that referenced this pull request Jul 6, 2024
If OnLoaded failed, return after passing the error to OnEmitted instead
of also calling finalizeAsync (which would use values that have already
been moved and perform another call to OnEmitted).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants