From 272c8871d7d280d3b795335a2c495df32d12fd2d Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 19 Jun 2003 19:58:32 +0000 Subject: [PATCH] Fix output bug: Intel asm comment character is #, not ;. llvm-svn: 6792 --- llvm/lib/Target/X86/Printer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/Printer.cpp b/llvm/lib/Target/X86/Printer.cpp index 0a5a33ca193a..c3f1df7d1b47 100644 --- a/llvm/lib/Target/X86/Printer.cpp +++ b/llvm/lib/Target/X86/Printer.cpp @@ -52,7 +52,7 @@ void Printer::printConstantPool(MachineConstantPool *MCP, const TargetData &TD){ for (unsigned i = 0, e = CP.size(); i != e; ++i) { O << "\t.section .rodata\n"; O << "\t.align " << (unsigned)TD.getTypeAlignment(CP[i]->getType()) << "\n"; - O << ".CPI" << i+ConstIdx << ":\t\t\t\t\t;" << *CP[i] << "\n"; + O << ".CPI" << i+ConstIdx << ":\t\t\t\t\t#" << *CP[i] << "\n"; O << "\t*Constant output not implemented yet!*\n\n"; } ConstIdx += CP.size(); // Don't recycle constant pool index numbers