LLDB
mainline
|
#include <DWARFDebugRanges.h>
Public Member Functions | |
DWARFDebugRanges () | |
void | Extract (lldb_private::DWARFContext &context) |
bool | FindRanges (const DWARFUnit *cu, dw_offset_t debug_ranges_offset, DWARFRangeList &range_list) const |
Static Public Member Functions | |
static void | Dump (lldb_private::Stream &s, const lldb_private::DWARFDataExtractor &debug_ranges_data, lldb::offset_t *offset_ptr, dw_addr_t cu_base_addr) |
Protected Types | |
typedef std::map< dw_offset_t, DWARFRangeList > | range_map |
typedef range_map::iterator | range_map_iterator |
typedef range_map::const_iterator | range_map_const_iterator |
Protected Member Functions | |
bool | Extract (lldb_private::DWARFContext &context, lldb::offset_t *offset_ptr, DWARFRangeList &range_list) |
Protected Attributes | |
range_map | m_range_map |
Definition at line 20 of file DWARFDebugRanges.h.
|
protected |
Definition at line 36 of file DWARFDebugRanges.h.
|
protected |
Definition at line 38 of file DWARFDebugRanges.h.
|
protected |
Definition at line 37 of file DWARFDebugRanges.h.
DWARFDebugRanges::DWARFDebugRanges | ( | ) |
Definition at line 27 of file DWARFDebugRanges.cpp.
|
static |
Definition at line 75 of file DWARFDebugRanges.cpp.
References lldb_private::Stream::AsRawOstream(), DumpAddress(), lldb_private::DumpAddressRange(), lldb_private::Stream::GetAddressByteSize(), lldb_private::DataExtractor::GetMaxU64(), lldb_private::Stream::Indent(), LLDB_INVALID_ADDRESS, lldb_private::Stream::PutCString(), and lldb_private::DataExtractor::ValidOffsetForDataOfSize().
void DWARFDebugRanges::Extract | ( | lldb_private::DWARFContext & | context | ) |
Definition at line 29 of file DWARFDebugRanges.cpp.
References m_range_map, and lldb_private::RangeVector< B, S, N >::Sort().
|
protected |
Definition at line 40 of file DWARFDebugRanges.cpp.
References lldb_private::RangeVector< B, S, N >::Append(), lldb_private::RangeVector< B, S, N >::Clear(), lldb_private::DataExtractor::GetAddressByteSize(), GetBaseAddressMarker(), lldb_private::DataExtractor::GetMaxU64(), lldb_private::DWARFContext::getOrLoadRangesData(), and lldb_private::DataExtractor::ValidOffsetForDataOfSize().
bool DWARFDebugRanges::FindRanges | ( | const DWARFUnit * | cu, |
dw_offset_t | debug_ranges_offset, | ||
DWARFRangeList & | range_list | ||
) | const |
Definition at line 111 of file DWARFDebugRanges.cpp.
References DWARFUnit::GetBaseAddress(), DWARFUnit::GetRangesBase(), m_range_map, and lldb_private::RangeVector< B, S, N >::Slide().
Referenced by DWARFUnit::FindRnglistFromOffset().
|
protected |
Definition at line 39 of file DWARFDebugRanges.h.
Referenced by Extract(), and FindRanges().