42 if (llvm::Error
error = set.
extract(debug_aranges_data, &offset)) {
45 "DWARFDebugAranges::extract failed to extract "
46 ".debug_aranges set at offset %#" PRIx64,
50 if (num_descriptors > 0) {
53 for (
uint32_t i = 0; i < num_descriptors; ++i) {
57 descriptor.
length, cu_offset));
76 for (
size_t i = 0; i < num_entries; ++i) {
79 LLDB_LOG(log,
"{0:x8}: [{1:x16} - {2:x16})", entry->
data,
92 static_cast<void *
>(
this));
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_TIMERF(...)
CountArangeDescriptors(uint32_t &count_ref)
void operator()(const DWARFDebugArangeSet &set)
size_t NumDescriptors() const
dw_offset_t GetNextOffset() const
const Descriptor & GetDescriptorRef(uint32_t i) const
const Header & GetHeader() const
llvm::Error extract(const lldb_private::DWARFDataExtractor &data, lldb::offset_t *offset_ptr)
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(lldb_private::Log *log) const
void extract(const lldb_private::DWARFDataExtractor &debug_aranges_data)
void CombineConsecutiveEntriesWithEqualData()
const Entry * GetEntryAtIndex(size_t i) const
void Append(const Entry &entry)
Entry * FindEntryThatContains(B addr)
#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