diff options
author | Heejin Ahn <aheejin@gmail.com> | 2023-12-20 10:48:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 10:48:42 -0800 |
commit | 11e3af054a1fd137a892499ee0d5813f6c15d07e (patch) | |
tree | 05c06daaac433b6461880c7006982adf91ec3622 /test/lit/basic/exception-handling.wast | |
parent | eb5666eeb0a2b74314e1aaf27e57193cb8fd4a99 (diff) | |
download | binaryen-11e3af054a1fd137a892499ee0d5813f6c15d07e.tar.gz binaryen-11e3af054a1fd137a892499ee0d5813f6c15d07e.tar.bz2 binaryen-11e3af054a1fd137a892499ee0d5813f6c15d07e.zip |
[EH] Add validation for new instructions (#6185)
This adds validation for the new EH instructions (`try_table` and
`throw_ref`):
https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
This also adds a spec test for checking invalid modules. We cannot check
the executions yet because we don't have the interpreter implementation.
The new test file also contains tests for the existing `throw`, because
this is meant to replace the old spec test someday.
Diffstat (limited to 'test/lit/basic/exception-handling.wast')
0 files changed, 0 insertions, 0 deletions