LLDB
mainline
|
#include <RangeMap.h>
Public Types | |
typedef lldb_private::Range< B, S > | Range |
typedef RangeData< B, S, T > | Entry |
typedef AugmentedRangeData< B, S, T > | AugmentedEntry |
typedef llvm::SmallVector< AugmentedEntry, N > | Collection |
Public Member Functions | |
RangeDataVector (Compare compare=Compare()) | |
~RangeDataVector ()=default | |
void | Append (const Entry &entry) |
void | Sort () |
void | CombineConsecutiveEntriesWithEqualData () |
void | Clear () |
bool | IsEmpty () const |
size_t | GetSize () const |
const Entry * | GetEntryAtIndex (size_t i) const |
Entry * | GetMutableEntryAtIndex (size_t i) |
Entry & | GetEntryRef (size_t i) |
const Entry & | GetEntryRef (size_t i) const |
uint32_t | FindEntryIndexThatContains (B addr) const |
uint32_t | FindEntryIndexesThatContain (B addr, std::vector< uint32_t > &indexes) |
Entry * | FindEntryThatContains (B addr) |
const Entry * | FindEntryThatContains (B addr) const |
const Entry * | FindEntryThatContains (const Entry &range) const |
const Entry * | FindEntryStartsAt (B addr) const |
const Entry * | FindEntryThatContainsOrFollows (B addr) const |
Entry * | Back () |
const Entry * | Back () const |
Static Public Member Functions | |
static bool | BaseLessThan (const Entry &lhs, const Entry &rhs) |
Protected Attributes | |
Collection | m_entries |
Compare | m_compare |
Private Member Functions | |
B | ComputeUpperBounds (size_t lo, size_t hi) |
void | FindEntryIndexesThatContain (B addr, size_t lo, size_t hi, std::vector< uint32_t > &indexes) |
Definition at line 435 of file RangeMap.h.
typedef AugmentedRangeData<B, S, T> lldb_private::RangeDataVector< B, S, T, N, Compare >::AugmentedEntry |
Definition at line 439 of file RangeMap.h.
typedef llvm::SmallVector<AugmentedEntry, N> lldb_private::RangeDataVector< B, S, T, N, Compare >::Collection |
Definition at line 440 of file RangeMap.h.
typedef RangeData<B, S, T> lldb_private::RangeDataVector< B, S, T, N, Compare >::Entry |
Definition at line 438 of file RangeMap.h.
typedef lldb_private::Range<B, S> lldb_private::RangeDataVector< B, S, T, N, Compare >::Range |
Definition at line 437 of file RangeMap.h.
|
inline |
Definition at line 442 of file RangeMap.h.
|
default |
|
inline |
Definition at line 446 of file RangeMap.h.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), SymbolFileDWARFDebugMap::AddOSOFileRange(), DWARFDebugAranges::AppendRange(), ProcessMachCore::DoLoadCore(), DWARFDebugAranges::extract(), lldb_private::DWARFCallFrameInfo::GetFDEIndex(), lldb_private::Symtab::InitAddressIndexes(), SymbolFileDWARFDebugMap::InitOSO(), and lldb_private::npdb::SymbolFileNativePDB::ParseLineTable().
|
inline |
Definition at line 624 of file RangeMap.h.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), and ProcessMachCore::DoLoadCore().
|
inline |
Definition at line 626 of file RangeMap.h.
|
inlinestatic |
Definition at line 529 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryStartsAt(), and lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryThatContains().
|
inline |
Definition at line 510 of file RangeMap.h.
Referenced by lldb_private::Symtab::AddSymbol(), DWARFDebugAranges::Clear(), lldb_private::DWARFCallFrameInfo::GetFDEIndex(), and lldb_private::npdb::SymbolFileNativePDB::ParseLineTable().
|
inline |
Definition at line 474 of file RangeMap.h.
Referenced by DWARFDebugAranges::Sort().
|
inlineprivate |
Definition at line 636 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::ComputeUpperBounds(), and lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::Sort().
|
inlineprivate |
Definition at line 655 of file RangeMap.h.
|
inline |
Definition at line 541 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryIndexesThatContain(), and lldb_private::Symtab::ForEachSymbolContainingFileAddress().
|
inline |
Definition at line 533 of file RangeMap.h.
Referenced by SymbolFileDWARFDebugMap::AddOSOFileRange().
|
inline |
Definition at line 580 of file RangeMap.h.
Referenced by lldb_private::Symtab::FindSymbolAtFileAddress().
|
inline |
Definition at line 551 of file RangeMap.h.
Referenced by SymbolFileDWARFDebugMap::AddOSOFileRange(), ProcessMachCore::DoReadMemory(), ProcessElfCore::DoReadMemory(), DWARFDebugAranges::FindAddress(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryIndexThatContains(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryThatContains(), lldb_private::Symtab::FindSymbolContainingFileAddress(), lldb_private::DWARFCallFrameInfo::GetAddressRange(), lldb_private::LineTable::LinkLineTable(), SymbolFileDWARFDebugMap::LinkOSOAddress(), SymbolFileDWARFDebugMap::LinkOSOFileAddress(), and lldb_private::npdb::SymbolFileNativePDB::ParseInlineSite().
|
inline |
Definition at line 557 of file RangeMap.h.
|
inline |
Definition at line 561 of file RangeMap.h.
|
inline |
Definition at line 602 of file RangeMap.h.
Referenced by ProcessMachCore::DoGetMemoryRegionInfo(), ProcessElfCore::DoGetMemoryRegionInfo(), and lldb_private::DWARFCallFrameInfo::GetFirstFDEEntryInRange().
|
inline |
Definition at line 516 of file RangeMap.h.
Referenced by SymbolFileDWARFDebugMap::AddOSOARanges(), ProcessMachCore::DoLoadCore(), DWARFDebugAranges::Dump(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), and DWARFDebugAranges::OffsetAtIndex().
|
inline |
Definition at line 526 of file RangeMap.h.
Referenced by lldb_private::Symtab::Dump(), SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), and lldb_private::DWARFCallFrameInfo::ForEachFDEEntries().
|
inline |
Definition at line 527 of file RangeMap.h.
|
inline |
Definition at line 520 of file RangeMap.h.
Referenced by ProcessMachCore::DoLoadCore(), and lldb_private::Symtab::InitAddressIndexes().
|
inline |
Definition at line 514 of file RangeMap.h.
Referenced by SymbolFileDWARFDebugMap::AddOSOARanges(), ProcessMachCore::DoLoadCore(), DWARFDebugAranges::Dump(), lldb_private::Symtab::Dump(), SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::DWARFCallFrameInfo::ForEachFDEEntries(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), DWARFDebugAranges::GetNumRanges(), and lldb_private::Symtab::InitAddressIndexes().
|
inline |
Definition at line 512 of file RangeMap.h.
Referenced by DWARFDebugAranges::IsEmpty().
|
inline |
Definition at line 448 of file RangeMap.h.
Referenced by ProcessMachCore::DoLoadCore(), ProcessElfCore::DoLoadCore(), SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::DWARFCallFrameInfo::GetFDEIndex(), lldb_private::Symtab::InitAddressIndexes(), SymbolFileDWARFDebugMap::InitOSO(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), and DWARFDebugAranges::Sort().
|
protected |
Definition at line 632 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::Sort().
|
protected |
Definition at line 631 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::Append(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::Back(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::Clear(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::CombineConsecutiveEntriesWithEqualData(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::ComputeUpperBounds(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryIndexesThatContain(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryIndexThatContains(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryStartsAt(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryThatContains(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::FindEntryThatContainsOrFollows(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::GetEntryAtIndex(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::GetEntryRef(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::GetMutableEntryAtIndex(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::GetSize(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::IsEmpty(), and lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::Sort().