aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-10-31 19:15:52 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-10-31 19:15:52 +0000
commitba44df60d66363ce7490e81b18a35231c3f4c04a (patch)
tree086fa725de648466d1a7f14159e66d50b3437949
parentfd532d7cd925b89daea1a585c0f344a33e81c7fe (diff)
Actually make debug output understandable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58529 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMCodeEmitter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp
index b1c6f33f4b..0e932547e9 100644
--- a/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -275,8 +275,8 @@ void ARMCodeEmitter::emitConstPoolInstruction(const MachineInstr &MI) {
ARMConstantPoolValue *ACPV =
static_cast<ARMConstantPoolValue*>(MCPE.Val.MachineCPVal);
- DOUT << "\t** ARM constant pool #" << CPI << ", ' @ "
- << (void*)MCE.getCurrentPCValue() << *ACPV << '\n';
+ DOUT << "\t** ARM constant pool #" << CPI << " @ "
+ << (void*)MCE.getCurrentPCValue() << " '" << *ACPV << "'\n";
GlobalValue *GV = ACPV->getGV();
if (GV) {
@@ -290,8 +290,8 @@ void ARMCodeEmitter::emitConstPoolInstruction(const MachineInstr &MI) {
} else {
Constant *CV = MCPE.Val.ConstVal;
- DOUT << "\t** Constant pool #" << CPI << ", ' @ "
- << (void*)MCE.getCurrentPCValue() << *CV << '\n';
+ DOUT << "\t** Constant pool #" << CPI << " @ "
+ << (void*)MCE.getCurrentPCValue() << " '" << *CV << "'\n";
if (GlobalValue *GV = dyn_cast<GlobalValue>(CV)) {
emitGlobalAddress(GV, ARM::reloc_arm_absolute, false);