mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 01:25:10 +00:00
Add more PRI.64 macros for MSVC and use them throughout the codebase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -459,7 +459,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
DebugOut, nulls())) {
|
||||
uint64_t SectAddress = 0;
|
||||
Sections[SectIdx].getAddress(SectAddress);
|
||||
outs() << format("%8llx:\t", SectAddress + Index);
|
||||
outs() << format("%8" PRIx64 ":\t", SectAddress + Index);
|
||||
|
||||
DumpBytes(StringRef(Bytes.data() + Index, Size));
|
||||
IP->printInst(&Inst, outs(), "");
|
||||
@@ -579,7 +579,7 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
outs() << FunctionMap[SectAddress + Inst.Address]-> getName()
|
||||
<< ":\n";
|
||||
|
||||
outs() << format("%8llx:\t", SectAddress + Inst.Address);
|
||||
outs() << format("%8" PRIx64 ":\t", SectAddress + Inst.Address);
|
||||
DumpBytes(StringRef(Bytes.data() + Inst.Address, Inst.Size));
|
||||
|
||||
if (fi->second.contains(fi->first)) // Indent simple loops.
|
||||
|
Reference in New Issue
Block a user