summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-02-23 02:27:05 +0000
committerStuart Hastings <stuart@apple.com>2011-02-23 02:27:05 +0000
commitbf83659d11cfa81de18d87288cd2c48468aa0c95 (patch)
treeb2223934754bbf4525bfe9402b83595b580152ed /llvm/lib/MC/MCAsmInfoDarwin.cpp
parent204f1d26d41bf3af69c3d64dca209a4acf2374ef (diff)
downloadbcm5719-llvm-bf83659d11cfa81de18d87288cd2c48468aa0c95.tar.gz
bcm5719-llvm-bf83659d11cfa81de18d87288cd2c48468aa0c95.zip
Omit private_extern declarations of extern symbols; followup to
r124468. Patch by Rafael Avila de Espindola! llvm-svn: 126297
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp
index 13776f04437..526ad0da42a 100644
--- a/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud