-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[mono][wasm] Only catch the exception thrown by mono_llvm_cpp_throw_e… #92040
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
Conversation
024d620 to
60cca14
Compare
…xception() in AOT-ed code. Part of the fix for dotnet#90692.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'm not an LLVM expert
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
|
||
| LLVMValueRef args [] = { catchpad }; | ||
| LLVMValueRef call = call_intrins (ctx, INTRINS_WASM_GET_EXCEPTION, args, ""); | ||
| LLVMSetTailCall (call, TRUE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure there is no need for the tail annotation and Clang just adds it because that's what it does for most calls.
|
We may want to backport this to 8.0 staging. (I thought this fix was already in 8, but it looks like it's not?) |
…xception() in AOT-ed code.
Part of the fix for #90692.