[llvm] [WebAssembly] Add -wasm-enable-exnref option (PR #93597)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 16:24:49 PDT 2024
================
@@ -401,6 +402,9 @@ static void basicCheckForEHAndSjLj(TargetMachine *TM) {
if (WasmEnableEmEH && WasmEnableSjLj)
report_fatal_error(
"-enable-emscripten-cxx-exceptions not allowed with -wasm-enable-sjlj");
+ if (WasmEnableExnref && !WasmEnableEH)
+ report_fatal_error(
+ "-wasm-enable-exnref should be used with -wasm-enable-eh");
----------------
aheejin wrote:
Done
https://github.com/llvm/llvm-project/pull/93597
More information about the llvm-commits
mailing list