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
I think the root issue here is that wasm-decompile doesn't know how to handle a br to the implicit function label, which is basically equivalent to a return. My guess is that wasm-opt is converting this to a return, which wasm-decompile does know how to handle.
Here's a minimal test case that also triggers the same assertion failure:
(funcbr0)
Handling this cleanly is probably pretty doable but requires some mucking with the decompiler.
wasm-decompile crashes when trying to process this WAT file. Interestingly enough, it works after being processed with wasm-opt.
The full text of the error is:
The text was updated successfully, but these errors were encountered: