[clang] [WebAssembly] Generate __clang_call_terminate for Emscripten EH (PR #129020)

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 15:04:00 PST 2025


================
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 %s -triple wasm32-unknown-unknown -fexceptions -fcxx-exceptions -emit-llvm -o - -std=c++11 2>&1 | FileCheck %s
----------------
aheejin wrote:

We don't do anything differently wrt EH depending on whether it is `unknown` or `emscripten` triple. But given that this test only applies to Emscripten, I changed it to `wasm-unknown-emscripten`.

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


More information about the cfe-commits mailing list