mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 05:06:17 +00:00

This PR adds the initial support for WASM exception handling: * Inside the classic interpreter only: * Initial handling of Tags * Initial handling of Exceptions based on W3C Exception Proposal * Import and Export of Exceptions and Tags * Add `cmake -DWAMR_BUILD_EXCE_HANDLING=1/0` option to enable/disable the feature, and by default it is disabled * Update the wamr-test-suites scripts to test the feature * Additional CI/CD changes to validate the exception spec proposal cases Refer to: https://github.com/bytecodealliance/wasm-micro-runtime/issues/1884587513f3c6
8bebfe9ad7
59bccdfed8
Signed-off-by: Ricardo Aguilar <ricardoaguilar@siemens.com> Co-authored-by: Chris Woods <chris.woods@siemens.com> Co-authored-by: Rene Ermler <rene.ermler@siemens.com> Co-authored-by: Trenner Thomas <trenner.thomas@siemens.com>
21 lines
613 B
Diff
21 lines
613 B
Diff
diff --git a/test/core/try_catch.wast b/test/core/try_catch.wast
|
|
index 2a0e9ff6..f243489d 100644
|
|
--- a/test/core/try_catch.wast
|
|
+++ b/test/core/try_catch.wast
|
|
@@ -203,7 +203,6 @@
|
|
|
|
(assert_return (invoke "catch-param-i32" (i32.const 5)) (i32.const 5))
|
|
|
|
-(assert_return (invoke "catch-imported") (i32.const 2))
|
|
|
|
(assert_return (invoke "catchless-try" (i32.const 0)) (i32.const 0))
|
|
(assert_return (invoke "catchless-try" (i32.const 1)) (i32.const 1))
|
|
@@ -231,7 +230,6 @@
|
|
)
|
|
)
|
|
|
|
-(assert_return (invoke "imported-mismatch") (i32.const 3))
|
|
|
|
(assert_malformed
|
|
(module quote "(module (func (catch_all)))")
|