reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/include/lldb/Core/dwarf.h
   74 typedef lldb_private::RangeArray<dw_addr_t, dw_addr_t, 2> DWARFRangeList;
   74 typedef lldb_private::RangeArray<dw_addr_t, dw_addr_t, 2> DWARFRangeList;
tools/lldb/source/Expression/DWARFExpression.cpp
 2921   dw_addr_t base_addr = cu ? cu->GetBaseAddress() : 0;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp
  121   DescriptorContainsAddress(dw_addr_t address) : m_address(address) {}
  128   const dw_addr_t m_address;
  131 dw_offset_t DWARFDebugArangeSet::FindAddress(dw_addr_t address) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h
   34     dw_addr_t address;
   35     dw_addr_t length;
   36     dw_addr_t end_address() const { return address + length; }
   44   dw_offset_t FindAddress(dw_addr_t address) const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
   74 void DWARFDebugAranges::AppendRange(dw_offset_t offset, dw_addr_t low_pc,
   75                                     dw_addr_t high_pc) {
   90 dw_offset_t DWARFDebugAranges::FindAddress(dw_addr_t address) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h
   18   typedef lldb_private::RangeDataVector<dw_addr_t, uint32_t, dw_offset_t>
   33   void AppendRange(dw_offset_t cu_offset, dw_addr_t low_pc, dw_addr_t high_pc);
   33   void AppendRange(dw_offset_t cu_offset, dw_addr_t low_pc, dw_addr_t high_pc);
   39   dw_offset_t FindAddress(dw_addr_t address) const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  230   dw_addr_t lo_pc = LLDB_INVALID_ADDRESS;
  231   dw_addr_t hi_pc = LLDB_INVALID_ADDRESS;
  380     dw_addr_t lowest_range_pc = ranges.GetMinRangeBase(0);
  729 dw_addr_t DWARFDebugInfoEntry::GetAttributeHighPC(
  730     const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value,
  753     const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc,
  753     const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc,
  777     dw_addr_t lo_pc = LLDB_INVALID_ADDRESS;
  778     dw_addr_t hi_pc = LLDB_INVALID_ADDRESS;
  846       dw_addr_t lo_pc = LLDB_INVALID_ADDRESS;
  847       dw_addr_t hi_pc = LLDB_INVALID_ADDRESS;
  873       dw_addr_t lo_pc = LLDB_INVALID_ADDRESS;
  874       dw_addr_t hi_pc = LLDB_INVALID_ADDRESS;
 1015 bool DWARFDebugInfoEntry::LookupAddress(const dw_addr_t address,
 1125       dw_addr_t lo_pc =
 1128         dw_addr_t hi_pc = GetAttributeHighPC(cu, lo_pc, LLDB_INVALID_ADDRESS);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
   49   bool LookupAddress(const dw_addr_t address, const DWARFUnit *cu,
   80   dw_addr_t
   81   GetAttributeHighPC(const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value,
   85       const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc,
   85       const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
   15 static dw_addr_t GetBaseAddressMarker(uint32_t addr_size) {
   48   dw_addr_t base_addr = 0;
   49   dw_addr_t base_addr_marker = GetBaseAddressMarker(addr_size);
   53     dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size);
   54     dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size);
   78                             dw_addr_t cu_base_addr) {
   81   dw_addr_t base_addr = cu_base_addr;
   84     dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size);
   85     dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size);
   98       s.Address(base_addr, sizeof(dw_addr_t), " Base address = ");
  101       dw_addr_t begin_addr = begin + base_addr;
  102       dw_addr_t end_addr = end + base_addr;
  104       s.AddressRange(begin_addr, end_addr, sizeof(dw_addr_t), nullptr);
  112   dw_addr_t debug_ranges_address = cu->GetRangesBase() + debug_ranges_offset;
  138       dw_addr_t begin = data.GetMaxU64(offset_ptr, addrSize);
  139       dw_addr_t len = data.GetULEB128(offset_ptr);
  145       dw_addr_t begin = data.GetMaxU64(offset_ptr, addrSize);
  146       dw_addr_t end = data.GetMaxU64(offset_ptr, addrSize);
  152       dw_addr_t base = data.GetMaxU64(offset_ptr, addrSize);
  158       dw_addr_t begin = data.GetULEB128(offset_ptr);
  159       dw_addr_t end = data.GetULEB128(offset_ptr);
  165       dw_addr_t base = data.GetULEB128(offset_ptr);
  171       dw_addr_t start = data.GetULEB128(offset_ptr);
  172       dw_addr_t end = data.GetULEB128(offset_ptr);
  178       dw_addr_t start = data.GetULEB128(offset_ptr);
  179       dw_addr_t length = data.GetULEB128(offset_ptr);
  208   dw_addr_t debug_ranges_address = cu->GetRangesBase() + debug_ranges_offset;
  211     dw_addr_t BaseAddr = cu->GetBaseAddress();
  232         dw_addr_t start = ReadAddressFromDebugAddrSection(cu, E.value0);
  233         dw_addr_t end = ReadAddressFromDebugAddrSection(cu, E.value1);
  238         dw_addr_t start = ReadAddressFromDebugAddrSection(cu, E.value0);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h
   39                    lldb::offset_t *offset_ptr, dw_addr_t cu_base_addr);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
  492 dw_addr_t DWARFFormValue::Address() const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
   68   dw_addr_t Address() const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  372 DWARFDIE DWARFUnit::LookupAddress(const dw_addr_t address) {
  418 void DWARFUnit::SetAddrBase(dw_addr_t addr_base) { m_addr_base = addr_base; }
  420 void DWARFUnit::SetRangesBase(dw_addr_t ranges_base) {
  445 void DWARFUnit::SetBaseAddress(dw_addr_t base_addr) { m_base_addr = base_addr; }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
   97   DWARFDIE LookupAddress(const dw_addr_t address);
  144   dw_addr_t GetAddrBase() const { return m_addr_base; }
  145   dw_addr_t GetBaseAddress() const { return m_base_addr; }
  147   dw_addr_t GetRangesBase() const { return m_ranges_base; }
  148   dw_addr_t GetStrOffsetsBase() const { return m_str_offsets_base; }
  149   void SetAddrBase(dw_addr_t addr_base);
  150   void SetRangesBase(dw_addr_t ranges_base);
  160   void SetBaseAddress(dw_addr_t base_addr);
  275   dw_addr_t m_base_addr = 0;
  284   dw_addr_t m_addr_base = 0;   // Value of DW_AT_addr_base
  285   dw_addr_t m_ranges_base = 0; // Value of DW_AT_ranges_base
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
 3084       const dw_addr_t func_lo_pc = function_die.GetAttributeValueAsAddress(