diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 08:57:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 08:57:40 +0000 |
commit | 41a964931a0e0943ceef28b0c691843bf8ca87b7 (patch) | |
tree | ce6a507970b4633d36e6d800531f0c1c50860fc3 /tools/llvm-objdump/MachODump.cpp | |
parent | 965d2feeddd4bb672396e620b8c2f402f7bb99d6 (diff) |
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
Diffstat (limited to 'tools/llvm-objdump/MachODump.cpp')
-rw-r--r-- | tools/llvm-objdump/MachODump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-objdump/MachODump.cpp b/tools/llvm-objdump/MachODump.cpp index 2420dd7a2b..a539f1d2cb 100644 --- a/tools/llvm-objdump/MachODump.cpp +++ b/tools/llvm-objdump/MachODump.cpp @@ -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. |