[llvm-commits] [llvm] r145368 - /llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp

Bill Wendling isanbard at gmail.com
Mon Nov 28 18:39:59 PST 2011


Author: void
Date: Mon Nov 28 20:39:58 2011
New Revision: 145368

URL: http://llvm.org/viewvc/llvm-project?rev=145368&view=rev
Log:
MachO doesn't support the protected visibility. Don't default to 'global' here. <rdar://problem/10396775>

Modified:
    llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp

Modified: llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp?rev=145368&r1=145367&r2=145368&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp (original)
+++ llvm/trunk/lib/MC/MCAsmInfoDarwin.cpp Mon Nov 28 20:39:58 2011
@@ -57,8 +57,9 @@
 
   HiddenVisibilityAttr = MCSA_PrivateExtern;
   HiddenDeclarationVisibilityAttr = MCSA_Invalid;
+
   // Doesn't support protected visibility.
-  ProtectedVisibilityAttr = MCSA_Global;
+  ProtectedVisibilityAttr = MCSA_Invalid;
   
   HasDotTypeDotSizeDirective = false;
   HasNoDeadStrip = true;





More information about the llvm-commits mailing list