void DWARFDebugRnglists::dump(raw_ostream &OS) const {
// TODO: Add verbose printing of the raw encodings.
- OS << format("Range List Header: length = 0x%8.8x, version = 0x%4.4x, "
- "addr_size = 0x%2.2x, seg_size = 0x%2.2x, offset_entry_count = "
- "0x%8.8x\n",
+ OS << format("Range List Header: length = 0x%8.8" PRIx32
+ ", version = 0x%4.4" PRIx16 ", "
+ "addr_size = 0x%2.2" PRIx8 ", seg_size = 0x%2.2" PRIx8
+ ", offset_entry_count = "
+ "0x%8.8" PRIx32 "\n",
HeaderData.Length, HeaderData.Version, HeaderData.AddrSize,
HeaderData.SegSize, HeaderData.OffsetEntryCount);
if (HeaderData.OffsetEntryCount > 0) {
OS << "Offsets: [";
for (const auto &Off : Offsets)
- OS << format("\n0x%8.8x", Off);
+ OS << format("\n0x%8.8" PRIx32, Off);
OS << "\n]\n";
}
OS << "Ranges:\n";