[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 10 11:33:54 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.104 -> 1.105
---
Log message:
Darwin supports quoted labels. This implements:
test/Regression/CodeGen/PowerPC/darwin-labels.ll
---
Diffs of the changes: (+3 -0)
PPCAsmPrinter.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.104 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.105
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.104 Thu Nov 10 12:20:29 2005
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Thu Nov 10 13:33:43 2005
@@ -446,6 +446,9 @@
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;
}
More information about the llvm-commits
mailing list