mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
Add a missed CommonLinkage check.
llvm-svn: 51503
This commit is contained in:
parent
4f660778f0
commit
0c2dcb3cb0
@ -143,5 +143,6 @@ bool PPCSubtarget::hasLazyResolverStub(const GlobalValue *GV) const {
|
||||
return false;
|
||||
|
||||
return GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() ||
|
||||
GV->hasCommonLinkage() ||
|
||||
(GV->isDeclaration() && !GV->hasNotBeenReadFromBitcode());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user