Add support for hidden visibility to darwin/arm.

llvm-svn: 35448
This commit is contained in:
Evan Cheng 2007-03-29 07:49:34 +00:00
parent 684c2133f2
commit bde0409264

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";