24 "{0:x16}: Compile Unit: length = {1:x8}, version = {2:x}, "
25 "abbr_offset = {3:x8}, addr_size = {4:x2} (next CU at "
37 size_t num_debug_aranges = debug_aranges->
GetNumRanges();
47 debug_aranges->
AppendRange(cu_offset, range.GetRangeBase(),
54 if (debug_aranges->
GetNumRanges() == num_debug_aranges) {
62 if (debug_map_sym_file) {
67 if (cu_info->compile_units_sps.empty())
73 if (debug_aranges->
GetNumRanges() == num_debug_aranges) {
81 const bool append =
true;
82 const size_t num_ranges =
83 line_table->GetContiguousFileAddressRanges(file_ranges, append);
84 for (uint32_t idx = 0; idx < num_ranges; ++idx) {
LineTable * GetLineTable()
Get the line table for the compile unit.
Entry & GetEntryRef(size_t i)
A stream class that can stream formatted output to a file.
void Format(const char *format, Args &&... args)
Defines a symbol context baton that can be handed other debug core functions.
CompileUnit * comp_unit
The CompileUnit for a given query.
DWARFDIE LookupAddress(const dw_addr_t address)
void BuildAddressRangeTable(DWARFDebugAranges *debug_aranges) override
void Dump(Stream *s) const override
DWARFCompileUnit & GetNonSkeletonUnit()
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)
size_t GetNumRanges() const
DWARFDebugInfoEntry objects assume that they are living in one big vector and do pointer arithmetic o...
DWARFRangeList GetAttributeAddressRanges(DWARFUnit *cu, bool check_hi_lo_pc, bool check_specification_or_abstract_origin=false) const
dw_offset_t GetAbbrevOffset() const
uint8_t GetAddressByteSize() const
const DWARFDebugInfoEntry * GetUnitDIEPtrOnly()
SymbolFileDWARF & GetSymbolFileDWARF() const
dw_offset_t GetLength() const
const DWARFDebugAranges & GetFunctionAranges()
dw_offset_t GetOffset() const
dw_offset_t GetNextUnitOffset() const
uint16_t GetVersion() const
SymbolFileDWARF & m_dwarf
DWARFUnit & GetNonSkeletonUnit()
DWARFDIE GetDIE(dw_offset_t die_offset)
CompileUnitInfo * GetCompileUnitInfo(SymbolFileDWARF *oso_dwarf)
size_t AddOSOARanges(SymbolFileDWARF *dwarf2Data, DWARFDebugAranges *debug_aranges)
CompileUnit * GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu)
SymbolFileDWARFDebugMap * GetDebugMapSymfile()
A class that represents a running process on the host machine.
BaseType GetRangeBase() const
BaseType GetRangeEnd() const