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
$ iwasm --llvm-jit -f main ./program.wasm
fast jit compilation failed: Error: unsupported opcode
failed to compile fast jit function 0
fast jit compilation failed: unknown error
failed to compile fast jit function 1
Segmentation fault (core dumped)
Expected behavior
The module should correctly handle multiple return values including v128. A valid output should look like:
Subject of the issue
WasmEdge fails to handle multiple return values when one of them is a v128, causing a segmentation fault.
Test c
program.wasm.txt
Your environment
iwasm --llvm-jit ./program_call_indirect.wasm
Steps to reproduce
Run the WebAssembly module, and get the output:
Expected behavior
The module should correctly handle multiple return values including v128. A valid output should look like:
The text was updated successfully, but these errors were encountered: