Skip to content

Commit

Permalink
fix some more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-fink committed May 3, 2024
1 parent 3a804fa commit ebe60d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/WebAssembly/WebAssemblyPointerAuth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class WebAssemblyPointerAuth : public ModulePass,
Intrinsic::getDeclaration(&M, Intrinsic::wasm_pointer_sign);

for (GlobalVariable &GV : M.globals()) {
if (GV.getName() == "llvm.used") {
if (GV.getName() == "llvm.used" || GV.getName() == "llvm.global_ctors" || GV.getName() == "llvm.global_dtors") {
continue;
}

Expand Down

0 comments on commit ebe60d7

Please sign in to comment.