[clang] [llvm] WebAssembly: Introduce ExceptionHandling::EmscriptenEH model (PR #221443)
Heejin Ahn via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 14 01:15:37 PDT 2026
================
@@ -195,7 +195,9 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() {
clEnumValN(ExceptionHandling::WinEH, "wineh",
"Windows exception model"),
clEnumValN(ExceptionHandling::Wasm, "wasm",
- "WebAssembly exception handling")));
+ "WebAssembly exception handling"),
+ clEnumValN(ExceptionHandling::EmscriptenEH, "emscripten",
+ "Emscripten JavaScript-based C++ exception handling")));
----------------
aheejin wrote:
```suggestion
clEnumValN(ExceptionHandling::Emscripten, "emscripten",
"Emscripten JavaScript-based exception handling")));
```
https://github.com/llvm/llvm-project/pull/221443
More information about the cfe-commits
mailing list