darwin doesn't use .hidden. Disable this until we fix it right.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-01-14 00:50:56 +00:00
parent 68027ea618
commit fd92ec40a9
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
}
break;
}
if (F->hasHiddenVisibility())
if (F->hasHiddenVisibility() && !Subtarget->isTargetDarwin())
O << "\t.hidden " << CurrentFnName << "\n";
O << CurrentFnName << ":\n";

View File

@ -246,7 +246,7 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
EmitGlobalConstant(C);
O << '\n';
}
if (I->hasHiddenVisibility())
if (I->hasHiddenVisibility() && !Subtarget->isTargetDarwin())
O << "\t.hidden " << name << "\n";
}