27 if (AddressSize != 4 && AddressSize != 8)
36 if (*offset_ptr != prev_offset + 2 * AddressSize) {
42 Entries.push_back(entry);
49 const char *format_str = (AddressSize == 4
50 ?
"%08x %08" PRIx64
" %08" PRIx64
"\n"
51 :
"%08x %016" PRIx64
" %016" PRIx64
"\n");
52 OS <<
format(format_str, Offset, RLE.StartAddress, RLE.EndAddress);
54 OS <<
format(
"%08x <End of list>\n", Offset);
61 if (RLE.isBaseAddressSelectionEntry(AddressSize)) {
62 BaseAddress = RLE.EndAddress;
64 Res.push_back(std::make_pair(BaseAddress + RLE.StartAddress,
65 BaseAddress + RLE.EndAddress));
std::vector< std::pair< uint64_t, uint64_t > > DWARFAddressRangesVector
DWARFAddressRangesVector - represents a set of absolute address ranges.
bool isEndOfListEntry() const
bool extract(DataExtractor data, uint32_t *offset_ptr)
format_object< Ts...> format(const char *Fmt, const Ts &...Vals)
These are helper functions used to produce formatted output.
DWARFAddressRangesVector getAbsoluteRanges(uint64_t BaseAddress) const
getAbsoluteRanges - Returns absolute address ranges defined by this range list.
void dump(raw_ostream &OS) const
This class implements an extremely fast bulk output stream that can only output to a stream...