[clang] [llvm] [WebAssembly] Implement an alternative translation for -wasm-enable-sjlj (PR #84137)

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 23:26:23 PST 2024


================
@@ -300,6 +315,7 @@ class WebAssemblyLowerEmscriptenEHSjLj final : public ModulePass {
   bool EnableEmEH;     // Enable Emscripten exception handling
   bool EnableEmSjLj;   // Enable Emscripten setjmp/longjmp handling
   bool EnableWasmSjLj; // Enable Wasm setjmp/longjmp handling
+  bool EnableWasmAltSjLj; // Alt ABI for EnableWasmSjLj
----------------
aheejin wrote:

```suggestion
  bool EnableWasmNewSjLj; // New ABI for EnableWasmSjLj
```
Also running clang-format around this line will likely to change the comment indentation.

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


More information about the cfe-commits mailing list