You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. I filed #63183 as a simplified version of this for future reference. I don't think the fix is trivial and will be ready soon, but will work on later. By the way I'm curious, which source code + frontend produced this code?
By the way I'm curious, which source code + frontend produced this code?
I encountered this when adding support for WASM EH in NativeAOT-LLVM. The way we did codegen with C++ (aka Emscripten) EH naturally results in this kind of flow when translated directly into WASM EH due to the dispatch always going through a top-level one-per-method switch.
I ended up altering the flow to have one switch per (WASM) catch in dotnet/runtimelab#2291, both to avoid this bug and for code quality reasons.
Reproduction (
.ll
-only, the original case is from a custom IR-producing compiler):Expected behavior: WASM validates.
Actual behavior:
Commit on which this was reproduced is 8b58711.
The text was updated successfully, but these errors were encountered: