OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2981a19
)
[llvm-objdump] Use PRIX64 with format()
author
Nick Kledzik
<kledzik@apple.com>
Sat, 13 Sep 2014 00:18:40 +0000
(
00:18
+0000)
committer
Nick Kledzik
<kledzik@apple.com>
Sat, 13 Sep 2014 00:18:40 +0000
(
00:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217724
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/MachODump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/MachODump.cpp
b/tools/llvm-objdump/MachODump.cpp
index
debe33e
..
4d75109
100644
(file)
--- a/
tools/llvm-objdump/MachODump.cpp
+++ b/
tools/llvm-objdump/MachODump.cpp
@@
-2247,7
+2247,8
@@
void llvm::printMachORebaseTable(const object::MachOObjectFile *Obj) {
uint64_t Address = sectionTable.address(SegIndex, OffsetInSeg);
// Table lines look like: __DATA __nl_symbol_ptr 0x0000F00C pointer
- outs() << format("%-8s %-18s 0x%08X %s\n", SegmentName.str().c_str(),
+ outs() << format("%-8s %-18s 0x%08" PRIX64 " %s\n",
+ SegmentName.str().c_str(),
SectionName.str().c_str(), Address,
Entry.typeName().str().c_str());
}