forked from OSchip/llvm-project
darwin doesn't use .hidden. Disable this until we fix it right.
llvm-svn: 33191
This commit is contained in:
parent
5760c5042c
commit
6bbb29ba40
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue