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

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 10:49:55 PST 2024


Author: YAMAMOTO Takashi
Date: 2024-02-07T10:49:52-08:00
New Revision: b0b0bf6d579f26962ac29592feaacd54ae04b60d

URL: https://github.com/llvm/llvm-project/commit/b0b0bf6d579f26962ac29592feaacd54ae04b60d
DIFF: https://github.com/llvm/llvm-project/commit/b0b0bf6d579f26962ac29592feaacd54ae04b60d.diff

LOG: WebAssemblyTargetMachine.cpp: fix a typo in a message (#80958)

Added: 
    

Modified: 
    llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp

Removed: 
    


################################################################################
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