[llvm-commits] [llvm] r53780 - /llvm/trunk/tools/lto/LTOModule.cpp
Nick Kledzik
kledzik at apple.com
Fri Jul 18 17:58:08 PDT 2008
Author: kledzik
Date: Fri Jul 18 19:58:07 2008
New Revision: 53780
URL: http://llvm.org/viewvc/llvm-project?rev=53780&view=rev
Log:
tentative definitions are default visibility
Modified:
llvm/trunk/tools/lto/LTOModule.cpp
Modified: llvm/trunk/tools/lto/LTOModule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOModule.cpp?rev=53780&r1=53779&r2=53780&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOModule.cpp (original)
+++ llvm/trunk/tools/lto/LTOModule.cpp Fri Jul 18 19:58:07 2008
@@ -225,7 +225,7 @@
if ( def->hasHiddenVisibility() )
attr |= LTO_SYMBOL_SCOPE_HIDDEN;
else if ( def->hasExternalLinkage() || def->hasWeakLinkage()
- || def->hasLinkOnceLinkage() )
+ || def->hasLinkOnceLinkage() || def->hasCommonLinkage() )
attr |= LTO_SYMBOL_SCOPE_DEFAULT;
else
attr |= LTO_SYMBOL_SCOPE_INTERNAL;
More information about the llvm-commits
mailing list