[clang] [llvm] WebAssembly: Stop changing MCAsmInfo's ExceptionsType based on flags (PR #146343)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 22:57:05 PDT 2025


================
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh -exception-model=wasm -mattr=+exception-handling -run-pass wasm-cfg-stackify %s -o - | FileCheck %s
+# RUN: llc -mtriple=wasm32-unknown-unknown -wasm-use-legacy-eh -wasm-enable-sjlj -exception-model=wasm -mattr=+exception-handling -run-pass wasm-cfg-stackify %s -o - | FileCheck %s
----------------
aheejin wrote:

They use EH but not SjLj, so I think it's better to use `-wasm-enable-eh`

https://github.com/llvm/llvm-project/pull/146343


More information about the llvm-commits mailing list