diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-27 16:29:54 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-27 16:29:54 +0000 |
commit | 98f0eee40692393ca4591b3a8988cc543bd691b5 (patch) | |
tree | 397aaa837968d57a875dcc7d37254fce5fcaafe4 | |
parent | 3b91807da740b76f05024c64d98f0f1a3c0bd0e7 (diff) |
make constant pool labels local
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22294 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AlphaAsmPrinter.cpp index 3f647d5cfe..5caa5d9f77 100644 --- a/lib/Target/Alpha/AlphaAsmPrinter.cpp +++ b/lib/Target/Alpha/AlphaAsmPrinter.cpp @@ -135,7 +135,7 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) { } case MachineOperand::MO_ConstantPoolIndex: - O << "CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex(); + O << "$CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex(); return; case MachineOperand::MO_ExternalSymbol: @@ -226,7 +226,7 @@ void AlphaAsmPrinter::printConstantPool(MachineConstantPool *MCP) { for (unsigned i = 0, e = CP.size(); i != e; ++i) { // SwitchSection(O, "section .rodata, \"dr\""); emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType())); - O << "CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString + O << "$CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString << *CP[i] << "\n"; emitGlobalConstant(CP[i]); } |