[llvm] WebAssemblyTargetMachine.cpp: fix a typo in a message (PR #80958)

YAMAMOTO Takashi via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 01:21:22 PST 2024


https://github.com/yamt created https://github.com/llvm/llvm-project/pull/80958

None

>From 25a081e4f666b1fb667a1f3f3b6f797389dc603b Mon Sep 17 00:00:00 2001
From: YAMAMOTO Takashi <yamamoto at midokura.com>
Date: Wed, 7 Feb 2024 18:20:48 +0900
Subject: [PATCH] WebAssemblyTargetMachine.cpp: fix a typo in a message

---
 llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
index 981d28a7393394..42043a7b8680a4 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
@@ -403,7 +403,7 @@ static void basicCheckForEHAndSjLj(TargetMachine *TM) {
       TM->Options.ExceptionModel == ExceptionHandling::Wasm)
     report_fatal_error(
         "-exception-model=wasm only allowed with at least one of "
-        "-wasm-enable-eh or -wasm-enable-sjj");
+        "-wasm-enable-eh or -wasm-enable-sjlj");
 
   // You can't enable two modes of EH at the same time
   if (WasmEnableEmEH && WasmEnableEH)



More information about the llvm-commits mailing list