aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2022-12-07 11:23:42 -0800
committerKeith Smiley <keithbsmiley@gmail.com>2022-12-07 11:24:08 -0800
commitc9b6d641f0d65c717207b215815412244d8529b0 (patch)
tree876d1703758f521ca04a03206a9a05ff114e309a /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent6017d9a628fc71e5679c0e80bf6e13c2d55e0a1b (diff)
downloadllvm-c9b6d641f0d65c717207b215815412244d8529b0.zip
llvm-c9b6d641f0d65c717207b215815412244d8529b0.tar.gz
llvm-c9b6d641f0d65c717207b215815412244d8529b0.tar.bz2
Fix @llvm.global_ctors docs (NFC)
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
index 497ba8d..5b82609 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
@@ -414,7 +414,7 @@ void WebAssemblyPassConfig::addIRPasses() {
// Add signatures to prototype-less function declarations
addPass(createWebAssemblyAddMissingPrototypes());
- // Lower .llvm.global_dtors into .llvm_global_ctors with __cxa_atexit calls.
+ // Lower .llvm.global_dtors into .llvm.global_ctors with __cxa_atexit calls.
addPass(createLowerGlobalDtorsLegacyPass());
// Fix function bitcasts, as WebAssembly requires caller and callee signatures