diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-03-29 23:28:02 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-03-29 23:28:02 +0000 |
commit | 5f49c296127d41636a3b0466d64684c7c46ef45d (patch) | |
tree | 62a031bda9bbc4ca46298053cd58f8a3043535d9 /lib/Linker | |
parent | 83d808329b81ad7589ddc516566169b0331c25d1 (diff) |
Revert r128501. It caused test failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r-- | lib/Linker/LinkModules.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index c11aefbfa1..5aa06abdd9 100644 --- a/lib/Linker/LinkModules.cpp +++ b/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 |