43 if (llvm::Error
error = set.
extract(debug_aranges_data, &offset)) {
46 "DWARFDebugAranges::extract failed to extract "
47 ".debug_aranges set at offset {1:x}: {0}",
51 if (num_descriptors > 0) {
54 for (uint32_t i = 0; i < num_descriptors; ++i) {
58 descriptor.
length, cu_offset));
77 for (
size_t i = 0; i < num_entries; ++i) {
80 LLDB_LOG(log,
"{0:x8}: [{1:x16} - {2:x16})", entry->
data,
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_LOG(log,...)
The LLDB_LOG* macros defined below are the way to emit log messages.
#define LLDB_LOG_ERROR(log, error,...)
#define LLDB_SCOPED_TIMER()
CountArangeDescriptors(uint32_t &count_ref)
void operator()(const DWARFDebugArangeSet &set)
void CombineConsecutiveEntriesWithEqualData()
const Entry * GetEntryAtIndex(size_t i) const
void Append(const Entry &entry)
Entry * FindEntryThatContains(B addr)
const Descriptor & GetDescriptorRef(uint32_t i) const
dw_offset_t GetNextOffset() const
size_t NumDescriptors() const
llvm::Error extract(const DWARFDataExtractor &data, lldb::offset_t *offset_ptr)
const Header & GetHeader() const
void extract(const DWARFDataExtractor &debug_aranges_data)
dw_offset_t FindAddress(dw_addr_t address) const
void AppendRange(dw_offset_t cu_offset, dw_addr_t low_pc, dw_addr_t high_pc)
void Dump(Log *log) const
#define DW_INVALID_OFFSET
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
BaseType GetRangeBase() const
BaseType GetRangeEnd() const