[llvm-commits] [llvm] r53581 - /llvm/branches/Apple/Gaz/tools/lto/LTOModule.cpp
Devang Patel
dpatel at apple.com
Mon Jul 14 17:00:48 PDT 2008
Author: dpatel
Date: Mon Jul 14 19:00:48 2008
New Revision: 53581
URL: http://llvm.org/viewvc/llvm-project?rev=53581&view=rev
Log:
Undo prev. check from Gaz branch.
Modified:
llvm/branches/Apple/Gaz/tools/lto/LTOModule.cpp
Modified: llvm/branches/Apple/Gaz/tools/lto/LTOModule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Gaz/tools/lto/LTOModule.cpp?rev=53581&r1=53580&r2=53581&view=diff
==============================================================================
--- llvm/branches/Apple/Gaz/tools/lto/LTOModule.cpp (original)
+++ llvm/branches/Apple/Gaz/tools/lto/LTOModule.cpp Mon Jul 14 19:00:48 2008
@@ -224,8 +224,7 @@
// set scope part
if ( def->hasHiddenVisibility() )
attr |= LTO_SYMBOL_SCOPE_HIDDEN;
- else if ( def->hasExternalLinkage() || def->hasWeakLinkage()
- || def->hasLinkOnceLinkage() )
+ else if ( def->hasExternalLinkage() || def->hasWeakLinkage() )
attr |= LTO_SYMBOL_SCOPE_DEFAULT;
else
attr |= LTO_SYMBOL_SCOPE_INTERNAL;
More information about the llvm-commits
mailing list