Actually make debug output understandable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-10-31 19:15:52 +00:00
parent fd532d7cd9
commit ba44df60d6

View 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);