LLDB mainline
|
#include <DWARFDebugArangeSet.h>
Classes | |
struct | Descriptor |
struct | Header |
Public Member Functions | |
DWARFDebugArangeSet () | |
void | Clear () |
void | SetOffset (uint32_t offset) |
llvm::Error | extract (const DWARFDataExtractor &data, lldb::offset_t *offset_ptr) |
dw_offset_t | FindAddress (dw_addr_t address) const |
size_t | NumDescriptors () const |
const Header & | GetHeader () const |
dw_offset_t | GetNextOffset () const |
const Descriptor & | GetDescriptorRef (uint32_t i) const |
Protected Types | |
typedef std::vector< Descriptor > | DescriptorColl |
typedef DescriptorColl::iterator | DescriptorIter |
typedef DescriptorColl::const_iterator | DescriptorConstIter |
Protected Attributes | |
dw_offset_t | m_offset |
dw_offset_t | m_next_offset |
Header | m_header |
DescriptorColl | m_arange_descriptors |
Definition at line 18 of file DWARFDebugArangeSet.h.
|
protected |
Definition at line 58 of file DWARFDebugArangeSet.h.
|
protected |
Definition at line 60 of file DWARFDebugArangeSet.h.
|
protected |
Definition at line 59 of file DWARFDebugArangeSet.h.
DWARFDebugArangeSet::DWARFDebugArangeSet | ( | ) |
Definition at line 18 of file DWARFDebugArangeSet.cpp.
void DWARFDebugArangeSet::Clear | ( | ) |
Definition at line 21 of file DWARFDebugArangeSet.cpp.
References lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::addr_size, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::cu_offset, DW_INVALID_OFFSET, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::length, m_arange_descriptors, m_header, m_next_offset, m_offset, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::seg_size, and lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::version.
Referenced by lldb_private::plugin::dwarf::DWARFDebugAranges::extract().
llvm::Error DWARFDebugArangeSet::extract | ( | const DWARFDataExtractor & | data, |
lldb::offset_t * | offset_ptr | ||
) |
Definition at line 32 of file DWARFDebugArangeSet.cpp.
References lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::addr_size, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Descriptor::address, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::cu_offset, lldb_private::DebugInfo, DW_INVALID_OFFSET, lldb_private::DWARFDataExtractor::GetDWARFInitialLength(), lldb_private::DWARFDataExtractor::GetDWARFOffset(), lldb_private::GetLog(), lldb_private::DataExtractor::GetMaxU64(), GetNextOffset(), lldb_private::DataExtractor::GetU16(), lldb_private::DataExtractor::GetU8(), lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::length, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Descriptor::length, LLDB_LOG, m_arange_descriptors, m_header, m_next_offset, m_offset, lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::seg_size, lldb_private::DataExtractor::ValidOffset(), and lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::version.
Referenced by lldb_private::plugin::dwarf::DWARFDebugAranges::extract().
dw_offset_t DWARFDebugArangeSet::FindAddress | ( | dw_addr_t | address | ) | const |
Definition at line 167 of file DWARFDebugArangeSet.cpp.
References lldb_private::plugin::dwarf::DWARFDebugArangeSet::Header::cu_offset, DW_INVALID_OFFSET, m_arange_descriptors, and m_header.
|
inline |
Definition at line 53 of file DWARFDebugArangeSet.h.
References m_arange_descriptors.
Referenced by lldb_private::plugin::dwarf::DWARFDebugAranges::extract().
|
inline |
Definition at line 51 of file DWARFDebugArangeSet.h.
References m_header.
Referenced by lldb_private::plugin::dwarf::DWARFDebugAranges::extract().
|
inline |
Definition at line 52 of file DWARFDebugArangeSet.h.
References m_next_offset.
Referenced by extract(), and lldb_private::plugin::dwarf::DWARFDebugAranges::extract().
|
inline |
Definition at line 50 of file DWARFDebugArangeSet.h.
References m_arange_descriptors.
Referenced by lldb_private::plugin::dwarf::DWARFDebugAranges::extract(), and CountArangeDescriptors::operator()().
|
inline |
Definition at line 46 of file DWARFDebugArangeSet.h.
References m_offset.
|
protected |
Definition at line 65 of file DWARFDebugArangeSet.h.
Referenced by Clear(), extract(), FindAddress(), GetDescriptorRef(), and NumDescriptors().
|
protected |
Definition at line 64 of file DWARFDebugArangeSet.h.
Referenced by Clear(), extract(), FindAddress(), and GetHeader().
|
protected |
Definition at line 63 of file DWARFDebugArangeSet.h.
Referenced by Clear(), extract(), and GetNextOffset().
|
protected |
Definition at line 62 of file DWARFDebugArangeSet.h.
Referenced by Clear(), extract(), and SetOffset().