Actually make debug output understandable.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 31 Oct 2008 19:15:52 +0000 (19:15 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 31 Oct 2008 19:15:52 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58529 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMCodeEmitter.cpp

index b1c6f33f4b63afd19ca7287bf9ca63bf6ad0aa2b..0e932547e9d9c7ebe0d02c82805a736bcf638eed 100644 (file)
@@ -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);