projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd0baf2
)
Add a missed CommonLinkage check.
author
Dale Johannesen
<dalej@apple.com>
Fri, 23 May 2008 21:33:27 +0000
(21:33 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Fri, 23 May 2008 21:33:27 +0000
(21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51503
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCSubtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCSubtarget.cpp
b/lib/Target/PowerPC/PPCSubtarget.cpp
index 6cf6ca6524b7faa1e10323d719f862d06204d74b..14983fcf1de3c92fa38d964c85d8716bd3e01343 100644
(file)
--- a/
lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/
lib/Target/PowerPC/PPCSubtarget.cpp
@@
-143,5
+143,6
@@
bool PPCSubtarget::hasLazyResolverStub(const GlobalValue *GV) const {
return false;
return GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() ||
+ GV->hasCommonLinkage() ||
(GV->isDeclaration() && !GV->hasNotBeenReadFromBitcode());
}