We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d00c6f commit 765206eCopy full SHA for 765206e
clang/lib/CodeGen/CodeGenPGO.cpp
@@ -1340,7 +1340,7 @@ void CodeGenPGO::setProfileVersion(llvm::Module &M) {
1340
llvm::APInt(64, ProfileVersion)),
1341
VarName);
1342
1343
- IRLevelVersionVariable->setVisibility(llvm::GlobalValue::DefaultVisibility);
+ IRLevelVersionVariable->setVisibility(llvm::GlobalValue::HiddenVisibility);
1344
llvm::Triple TT(M.getTargetTriple());
1345
if (TT.supportsCOMDAT()) {
1346
IRLevelVersionVariable->setLinkage(llvm::GlobalValue::ExternalLinkage);
0 commit comments