mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 06:14:42 +00:00
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:
parent
d48653a3ab
commit
616cc663da
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user