mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
Darwin supports quoted labels. This implements:
test/Regression/CodeGen/PowerPC/darwin-labels.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24287 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79ae0d12ba
commit
85eac0d941
@ -446,6 +446,9 @@ bool DarwinAsmPrinter::doInitialization(Module &M) {
|
|||||||
if (TM.getSubtarget<PPCSubtarget>().isGigaProcessor())
|
if (TM.getSubtarget<PPCSubtarget>().isGigaProcessor())
|
||||||
O << "\t.machine ppc970\n";
|
O << "\t.machine ppc970\n";
|
||||||
AsmPrinter::doInitialization(M);
|
AsmPrinter::doInitialization(M);
|
||||||
|
|
||||||
|
// Darwin wants symbols to be quoted if they have complex names.
|
||||||
|
Mang->setUseQuotes(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user