mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 11:46:42 +00:00
Darwin supports quoted labels. This implements:
test/Regression/CodeGen/PowerPC/darwin-labels.ll llvm-svn: 24287
This commit is contained in:
parent
b4ea0f4c7d
commit
fb66a38f13
@ -446,6 +446,9 @@ bool DarwinAsmPrinter::doInitialization(Module &M) {
|
||||
if (TM.getSubtarget<PPCSubtarget>().isGigaProcessor())
|
||||
O << "\t.machine ppc970\n";
|
||||
AsmPrinter::doInitialization(M);
|
||||
|
||||
// Darwin wants symbols to be quoted if they have complex names.
|
||||
Mang->setUseQuotes(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user