summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-03-29 23:28:02 +0000
committerBill Wendling <isanbard@gmail.com>2011-03-29 23:28:02 +0000
commitcfb203668951c17e6573aeaccdd986ce47ebd408 (patch)
tree5f313e217845b85d6a57da02b7d6e6bed51b7cd0 /llvm/lib
parentdedfac0b9508b4fbb70a0749a081de1e52b6bbf6 (diff)
downloadbcm5719-llvm-cfb203668951c17e6573aeaccdd986ce47ebd408.tar.gz
bcm5719-llvm-cfb203668951c17e6573aeaccdd986ce47ebd408.zip
Revert r128501. It caused test failures.
llvm-svn: 128506
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index c11aefbfa11..5aa06abdd98 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -352,7 +352,6 @@ static void CopyGVAttributes(GlobalValue *DestGV, const GlobalValue *SrcGV) {
unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment());
DestGV->copyAttributesFrom(SrcGV);
DestGV->setAlignment(Alignment);
- DestGV->setUnnamedAddr(SrcGV->hasUnnamedAddr());
}
/// GetLinkageResult - This analyzes the two global values and determines what
OpenPOWER on IntegriCloud