MachO doesn't support the protected visibility. Don't default to 'global' here. <rdar://problem/10396775>

llvm-svn: 145368
This commit is contained in:
Bill Wendling 2011-11-29 02:39:58 +00:00
parent d25089f8e0
commit 11b9894234
1 changed files with 2 additions and 1 deletions

View File

@ -57,8 +57,9 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
HiddenVisibilityAttr = MCSA_PrivateExtern;
HiddenDeclarationVisibilityAttr = MCSA_Invalid;
// Doesn't support protected visibility.
ProtectedVisibilityAttr = MCSA_Global;
ProtectedVisibilityAttr = MCSA_Invalid;
HasDotTypeDotSizeDirective = false;
HasNoDeadStrip = true;