[llvm-commits] [llvm] r128506 - /llvm/trunk/lib/Linker/LinkModules.cpp
Bill Wendling
isanbard at gmail.com
Tue Mar 29 16:28:02 PDT 2011
Author: void
Date: Tue Mar 29 18:28:02 2011
New Revision: 128506
URL: http://llvm.org/viewvc/llvm-project?rev=128506&view=rev
Log:
Revert r128501. It caused test failures.
Modified:
llvm/trunk/lib/Linker/LinkModules.cpp
Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=128506&r1=128505&r2=128506&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Tue Mar 29 18:28:02 2011
@@ -352,7 +352,6 @@
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
More information about the llvm-commits
mailing list