LLDB mainline
|
#include <DWARFDebugRanges.h>
Public Member Functions | |
DWARFDebugRanges () | |
void | Extract (DWARFContext &context) |
DWARFRangeList | FindRanges (const DWARFUnit *cu, dw_offset_t debug_ranges_offset) const |
Protected Attributes | |
std::map< dw_offset_t, DWARFRangeList > | m_range_map |
Definition at line 20 of file DWARFDebugRanges.h.
DWARFDebugRanges::DWARFDebugRanges | ( | ) |
Definition at line 16 of file DWARFDebugRanges.cpp.
void DWARFDebugRanges::Extract | ( | DWARFContext & | context | ) |
Definition at line 18 of file DWARFDebugRanges.cpp.
References lldb_private::RangeVector< B, S, N >::Append(), error(), lldb_private::DWARFDataExtractor::GetAsLLVMDWARF(), lldb_private::plugin::dwarf::DWARFContext::getOrLoadRangesData(), m_range_map, lldb_private::RangeVector< B, S, N >::Reserve(), and lldb_private::RangeVector< B, S, N >::Sort().
DWARFRangeList DWARFDebugRanges::FindRanges | ( | const DWARFUnit * | cu, |
dw_offset_t | debug_ranges_offset | ||
) | const |
Definition at line 44 of file DWARFDebugRanges.cpp.
References lldb_private::plugin::dwarf::DWARFUnit::GetBaseAddress(), lldb_private::plugin::dwarf::DWARFUnit::GetRangesBase(), m_range_map, and lldb_private::RangeVector< B, S, N >::Slide().
Referenced by lldb_private::plugin::dwarf::DWARFUnit::FindRnglistFromOffset().
|
protected |
Definition at line 29 of file DWARFDebugRanges.h.
Referenced by Extract(), and FindRanges().