From bf83659d11cfa81de18d87288cd2c48468aa0c95 Mon Sep 17 00:00:00 2001 From: Stuart Hastings Date: Wed, 23 Feb 2011 02:27:05 +0000 Subject: Omit private_extern declarations of extern symbols; followup to r124468. Patch by Rafael Avila de Espindola! llvm-svn: 126297 --- llvm/lib/MC/MCAsmInfoDarwin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp') 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; -- cgit v1.2.3