[llvm-commits] CVS: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 20 22:52:04 PST 2005
Changes in directory llvm/lib/Target/IA64:
IA64AsmPrinter.cpp updated: 1.13 -> 1.14
---
Log message:
Start using PrivateGlobalPrefix correctly
---
Diffs of the changes: (+3 -3)
IA64AsmPrinter.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
diff -u llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.13 llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.14
--- llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.13 Fri Oct 28 12:46:36 2005
+++ llvm/lib/Target/IA64/IA64AsmPrinter.cpp Mon Nov 21 00:51:52 2005
@@ -88,8 +88,8 @@
// FIXME: would be nice to have rodata (no 'w') when appropriate?
for (unsigned i = 0, e = CP.size(); i != e; ++i) {
emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
- O << ".CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
- << *CP[i] << "\n";
+ O << PrivateGlobalPrefix << "CPI" << CurrentFnName << "_" << i
+ << ":\t\t\t\t\t" << CommentString << *CP[i] << "\n";
emitGlobalConstant(CP[i]);
}
}
@@ -357,7 +357,7 @@
return;
case MachineOperand::MO_ConstantPoolIndex: {
- O << "@gprel(.CPI" << CurrentFnName << "_"
+ O << "@gprel(" << PrivateGlobalPrefix << "CPI" << CurrentFnName << "_"
<< MO.getConstantPoolIndex() << ")";
return;
}
More information about the llvm-commits
mailing list