-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information
Showing
5 changed files
with
75 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters