tentative definitions are default visibility

llvm-svn: 53780
This commit is contained in:
Nick Kledzik 2008-07-19 00:58:07 +00:00
parent a7a20c4946
commit 44831bcb8c
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ void LTOModule::addDefinedSymbol(GlobalValue* def, Mangler &mangler,
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;