================
@@ -13,6 +13,12 @@
 // SEH maps to the "wineh" spelling regardless of the requesting triple.
 // RUN: %clang_cc1 -triple i686-unknown-windows-gnu -fexceptions 
-exception-model=seh -emit-llvm %s -o - | FileCheck %s --check-prefix=WINEH
 
+// Wasm EH (needs the backend enable flag) records the "wasm" model.
+// RUN: %clang_cc1 -triple wasm32-unknown-unknown -fexceptions 
-exception-model=wasm -mllvm -wasm-enable-eh -emit-llvm %s -o - | FileCheck %s 
--check-prefix=WASM
----------------
arsenm wrote:

Oh, no. I forgot about that one

https://github.com/llvm/llvm-project/pull/223972
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to