================
@@ -20,7 +20,7 @@
   .text
 #endif
 
-#if !defined(__USING_SJLJ_EXCEPTIONS__)
+#if !defined(__USING_SJLJ_EXCEPTIONS__) && !defined(__wasm__)
----------------
aheejin wrote:

`__wasm__` is defined whenever we compile the code to wasm, and 
`__USING_WASM_EXCEPTIONS__` is defined when we compile the code to wasm and use 
Wasm exceptions (`-fwasm-exeptions`). And this code should be excluded whenever 
it is compiled to wasm, even if `-fwasm-exceptions` is not used.

https://github.com/llvm/llvm-project/pull/92192
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to