Skip to content

[Orc][RuntimeDyld] Return after handling error #95364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2024

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
8 checks passed
@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