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 31ec98d commit a461b7aCopy full SHA for a461b7a
lib/Transforms/IPO/FunctionImport.cpp
@@ -952,6 +952,9 @@ void llvm::thinLTOResolvePrevailingInModule(
952
if (NewLinkage == GV.getLinkage())
953
return;
954
if (GlobalValue::isLocalLinkage(GV.getLinkage()) ||
955
+ // Don't internalize anything here, because the code below
956
+ // lacks necessary correctness checks. Leave this job to
957
+ // LLVM 'internalize' pass.
958
GlobalValue::isLocalLinkage(NewLinkage) ||
959
// In case it was dead and already converted to declaration.
960
GV.isDeclaration())
0 commit comments