[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:36 PDT 2026


================
@@ -199,7 +199,14 @@ class CodeGenOptions : public CodeGenOptionsBase {
   }
 
   /// Possible exception handling behavior.
-  enum class ExceptionHandlingKind { None, SjLj, WinEH, DwarfCFI, Wasm };
+  enum class ExceptionHandlingKind {
+    None,
+    SjLj,
+    WinEH,
+    DwarfCFI,
+    Wasm,
+    EmscriptenEH
----------------
aheejin wrote:

```suggestion
    Emscripten
```
Given that it's `Wasm` and not `WasmEH`, how about just `Emscripten`?

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


More information about the cfe-commits mailing list