[llvm-objdump] Use PRIX64 with format()

llvm-svn: 217724
This commit is contained in:
Nick Kledzik 2014-09-13 00:18:40 +00:00
parent ead45ccc2c
commit 3df5fb812c
1 changed files with 2 additions and 1 deletions

View File

@ -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());
}