23 "{0:x16}: Compile Unit: length = {1:x8}, version = {2:x}, "
24 "abbr_offset = {3:x8}, addr_size = {4:x2} (next CU at "
36 size_t num_debug_aranges = debug_aranges->
GetNumRanges();
46 debug_aranges->
AppendRange(cu_offset, range.GetRangeBase(),
53 if (debug_aranges->
GetNumRanges() == num_debug_aranges) {
61 if (debug_map_sym_file) {
66 if (cu_info->compile_units_sps.empty())
72 if (debug_aranges->
GetNumRanges() == num_debug_aranges) {
80 const bool append =
true;
81 const size_t num_ranges =
82 line_table->GetContiguousFileAddressRanges(file_ranges, append);
83 for (
uint32_t idx = 0; idx < num_ranges; ++idx) {
DWARFDIE LookupAddress(const dw_addr_t address)
void BuildAddressRangeTable(DWARFDebugAranges *debug_aranges) override
DWARFCompileUnit & GetNonSkeletonUnit()
void Dump(lldb_private::Stream *s) const override
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
SymbolFileDWARF & GetSymbolFileDWARF() const
dw_offset_t GetAbbrevOffset() const
const DWARFDebugInfoEntry * GetUnitDIEPtrOnly()
const DWARFDebugAranges & GetFunctionAranges()
uint16_t GetVersion() const
uint8_t GetAddressByteSize() const
dw_offset_t GetNextUnitOffset() const
SymbolFileDWARF & m_dwarf
DWARFUnit & GetNonSkeletonUnit()
DWARFDIE GetDIE(dw_offset_t die_offset)
uint32_t GetLength() const
dw_offset_t GetOffset() const
CompileUnitInfo * GetCompileUnitInfo(SymbolFileDWARF *oso_dwarf)
size_t AddOSOARanges(SymbolFileDWARF *dwarf2Data, DWARFDebugAranges *debug_aranges)
lldb_private::CompileUnit * GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu)
SymbolFileDWARFDebugMap * GetDebugMapSymfile()
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.
A class that represents a running process on the host machine.
BaseType GetRangeBase() const
BaseType GetRangeEnd() const