forked from OSchip/llvm-project
Fix output bug: Intel asm comment character is #, not ;.
llvm-svn: 6792
This commit is contained in:
parent
2181d1f1a2
commit
272c8871d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue