llvm.org GIT mirror llvm / 83e2546
DWARFDebugRangeList.cpp: Use PRIx64 for uint64_t as format string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162665 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 7 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4848
4949 void DWARFDebugRangeList::dump(raw_ostream &OS) const {
5050 for (int i = 0, n = Entries.size(); i != n; ++i) {
51 const char *format_str = (AddressSize == 4) ? "%08x %08x %08x\n"
52 : "%08x %016x %016x\n";
51 const char *format_str = (AddressSize == 4
52 ? "%08x %08"PRIx64" %08"PRIx64"\n"
53 : "%08x %016"PRIx64" %016"PRIx64"\n");
5354 OS << format(format_str, Offset, Entries[i].StartAddress,
5455 Entries[i].EndAddress);
5556 }