diff options
author | Stuart Hastings <stuart@apple.com> | 2011-02-23 02:27:05 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2011-02-23 02:27:05 +0000 |
commit | 5129bdecd87c518713765acd6998c80f9eef36a2 (patch) | |
tree | 8ccf84fa15a9b010e233e1884cf2e1bacf369f10 /lib/MC/MCAsmInfoDarwin.cpp | |
parent | e573fb32556ba8430ccd723f71233cdf56b76340 (diff) | |
download | llvm-5129bdecd87c518713765acd6998c80f9eef36a2.tar.gz llvm-5129bdecd87c518713765acd6998c80f9eef36a2.tar.bz2 llvm-5129bdecd87c518713765acd6998c80f9eef36a2.tar.xz |
Omit private_extern declarations of extern symbols; followup to
r124468. Patch by Rafael Avila de Espindola!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | lib/MC/MCAsmInfoDarwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp index 13776f0443..526ad0da42 100644 --- a/lib/MC/MCAsmInfoDarwin.cpp +++ b/lib/MC/MCAsmInfoDarwin.cpp @@ -45,6 +45,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { HasAggressiveSymbolFolding = false; HiddenVisibilityAttr = MCSA_PrivateExtern; + HiddenDeclarationVisibilityAttr = MCSA_Invalid; // Doesn't support protected visibility. ProtectedVisibilityAttr = MCSA_Global; |