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
[EH] Add new test setting for new Wasm EH (#21906)
`with_all_eh_sjlj` and `with_all_sjlj` decorators (previously
`with_both_eh_sjlj` and `with_both_sjlj` but recently got renamed)
currently tests two modes: Emscripten EH and Wasm EH (pre-2023). We
decided to switch to a new version of the Wasm EH proposal in Oct 2023,
so this adds a new test setting for the new Wasm EH proposal in those
decorators.
Currently we have two parameters:
- ``: Emscripten EH
- `wasm`: Wasm EH (pre-2023)
This changes it to these three parameters:
- `emscripten`: Emscripten EH
- `wasm`: Wasm EH (pre-2023)
- `wasm_exnref`: Wasm EH (New proposal adopted on Oct 2023)
To use the new mode in the command line, you use `-fwasm-exceptions` as
in the old Wasm EH, but add `-sWASM_EXNREF` additionally.
This currently uses the Binaryen translator that translates old Wasm EH
instruction to the new ones
(https://github.com/WebAssembly/binaryen/blob/main/src/passes/TranslateEH.cpp)
at the end of the Binaryen pipeline to produce new binaries.
0 commit comments