[llvm] r217724 - [llvm-objdump] Use PRIX64 with format()
Nick Kledzik
kledzik at apple.com
Fri Sep 12 17:18:40 PDT 2014
Author: kledzik
Date: Fri Sep 12 19:18:40 2014
New Revision: 217724
URL: http://llvm.org/viewvc/llvm-project?rev=217724&view=rev
Log:
[llvm-objdump] Use PRIX64 with format()
Modified:
llvm/trunk/tools/llvm-objdump/MachODump.cpp
Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=217724&r1=217723&r2=217724&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Fri Sep 12 19:18:40 2014
@@ -2247,7 +2247,8 @@ void llvm::printMachORebaseTable(const o
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());
}
More information about the llvm-commits
mailing list