Add support for hidden visibility to darwin/arm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-03-29 07:49:34 +00:00
parent d48653a3ab
commit 616cc663da

View File

@ -205,6 +205,10 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
break;
}
if (F->hasHiddenVisibility())
if (const char *Directive = TAI->getHiddenDirective())
O << Directive << CurrentFnName << "\n";
if (AFI->isThumbFunction()) {
EmitAlignment(1, F);
O << "\t.code\t16\n";