mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
tentative definitions are default visibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ed9922794
commit
db6535dd20
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user