diff options
author | Nick Kledzik <kledzik@apple.com> | 2008-07-19 00:58:07 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2008-07-19 00:58:07 +0000 |
commit | db6535dd2008897f6446dcfa1ae754d1a6eb0270 (patch) | |
tree | b89758738988b6443c4d0947dd31bab7d25b32ac /tools | |
parent | 1ed9922794cda9dbe295e74674b909287e544632 (diff) | |
download | external_llvm-db6535dd2008897f6446dcfa1ae754d1a6eb0270.zip external_llvm-db6535dd2008897f6446dcfa1ae754d1a6eb0270.tar.gz external_llvm-db6535dd2008897f6446dcfa1ae754d1a6eb0270.tar.bz2 |
tentative definitions are default visibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lto/LTOModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index cef6922..7eb7905 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -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; |