Darwin supports quoted labels. This implements:

test/Regression/CodeGen/PowerPC/darwin-labels.ll

llvm-svn: 24287
This commit is contained in:
Chris Lattner 2005-11-10 19:33:43 +00:00
parent b4ea0f4c7d
commit fb66a38f13

View File

@ -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;
}