mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-17 21:29:02 +00:00
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:
@@ -275,8 +275,8 @@ void ARMCodeEmitter::emitConstPoolInstruction(const MachineInstr &MI) {
|
|||||||
ARMConstantPoolValue *ACPV =
|
ARMConstantPoolValue *ACPV =
|
||||||
static_cast<ARMConstantPoolValue*>(MCPE.Val.MachineCPVal);
|
static_cast<ARMConstantPoolValue*>(MCPE.Val.MachineCPVal);
|
||||||
|
|
||||||
DOUT << "\t** ARM constant pool #" << CPI << ", ' @ "
|
DOUT << "\t** ARM constant pool #" << CPI << " @ "
|
||||||
<< (void*)MCE.getCurrentPCValue() << *ACPV << '\n';
|
<< (void*)MCE.getCurrentPCValue() << " '" << *ACPV << "'\n";
|
||||||
|
|
||||||
GlobalValue *GV = ACPV->getGV();
|
GlobalValue *GV = ACPV->getGV();
|
||||||
if (GV) {
|
if (GV) {
|
||||||
@@ -290,8 +290,8 @@ void ARMCodeEmitter::emitConstPoolInstruction(const MachineInstr &MI) {
|
|||||||
} else {
|
} else {
|
||||||
Constant *CV = MCPE.Val.ConstVal;
|
Constant *CV = MCPE.Val.ConstVal;
|
||||||
|
|
||||||
DOUT << "\t** Constant pool #" << CPI << ", ' @ "
|
DOUT << "\t** Constant pool #" << CPI << " @ "
|
||||||
<< (void*)MCE.getCurrentPCValue() << *CV << '\n';
|
<< (void*)MCE.getCurrentPCValue() << " '" << *CV << "'\n";
|
||||||
|
|
||||||
if (GlobalValue *GV = dyn_cast<GlobalValue>(CV)) {
|
if (GlobalValue *GV = dyn_cast<GlobalValue>(CV)) {
|
||||||
emitGlobalAddress(GV, ARM::reloc_arm_absolute, false);
|
emitGlobalAddress(GV, ARM::reloc_arm_absolute, false);
|
||||||
|
Reference in New Issue
Block a user