mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-08 15:24:21 +00:00
Fixes r142984, r143120 and r143191 for PPC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@143447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -285,7 +285,7 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
|
||||
|
||||
if (DisAsm->getInstruction(Inst, Size, memoryObject, Index,
|
||||
DebugOut, nulls())) {
|
||||
outs() << format("%8x:\t", SectionAddr + Index);
|
||||
outs() << format("%8"PRIx64":\t", SectionAddr + Index);
|
||||
DumpBytes(StringRef(Bytes.data() + Index, Size));
|
||||
IP->printInst(&Inst, outs(), "");
|
||||
outs() << "\n";
|
||||
@ -306,7 +306,7 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
|
||||
if (error(rel_cur->getTypeName(name))) goto skip_print_rel;
|
||||
if (error(rel_cur->getValueString(val))) goto skip_print_rel;
|
||||
|
||||
outs() << format("\t\t\t%8x: ", SectionAddr + addr) << name << "\t"
|
||||
outs() << format("\t\t\t%8"PRIx64": ", SectionAddr + addr) << name << "\t"
|
||||
<< val << "\n";
|
||||
|
||||
skip_print_rel:
|
||||
|
Reference in New Issue
Block a user