mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
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:
parent
68027ea618
commit
fd92ec40a9
@ -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…
x
Reference in New Issue
Block a user