|
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 |
| using | const_iterator = typename Collection::const_iterator |
Public Member Functions | |
| RangeDataVector (Compare compare=Compare()) | |
| ~RangeDataVector ()=default | |
| void | Append (const Entry &entry) |
| void | Append (B &&b, S &&s, T &&t) |
| Append a range with data to the vector. | |
| bool | Erase (uint32_t start, uint32_t end) |
| 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 |
| uint32_t | FindEntryIndexThatContainsOrFollows (B addr) const |
| Entry * | Back () |
| const Entry * | Back () const |
| const_iterator | begin () const |
| const_iterator | end () 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 459 of file RangeMap.h.
| typedef AugmentedRangeData<B, S, T> lldb_private::RangeDataVector< B, S, T, N, Compare >::AugmentedEntry |
Definition at line 463 of file RangeMap.h.
| typedef llvm::SmallVector<AugmentedEntry, N> lldb_private::RangeDataVector< B, S, T, N, Compare >::Collection |
Definition at line 464 of file RangeMap.h.
| using lldb_private::RangeDataVector< B, S, T, N, Compare >::const_iterator = typename Collection::const_iterator |
Definition at line 668 of file RangeMap.h.
Definition at line 462 of file RangeMap.h.
| typedef lldb_private::Range<B, S> lldb_private::RangeDataVector< B, S, T, N, Compare >::Range |
Definition at line 461 of file RangeMap.h.
|
inline |
Definition at line 466 of file RangeMap.h.
|
default |
|
inline |
Append a range with data to the vector.
| B | The base of the memory range |
| S | The size of the memory range |
| T | The data associated with the memory range |
Definition at line 476 of file RangeMap.h.
|
inline |
Definition at line 470 of file RangeMap.h.
Referenced by AddDirtyPages(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOFileRange(), AddRegion(), and lldb_private::npdb::SymbolFileNativePDB::ParseLineTable().
|
inline |
Definition at line 662 of file RangeMap.h.
|
inline |
Definition at line 664 of file RangeMap.h.
|
inlinestatic |
Definition at line 557 of file RangeMap.h.
|
inline |
Definition at line 669 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::Erase().
|
inline |
Definition at line 538 of file RangeMap.h.
Referenced by lldb_private::npdb::SymbolFileNativePDB::ParseLineTable().
|
inline |
Definition at line 511 of file RangeMap.h.
|
inlineprivate |
Definition at line 678 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::CombineConsecutiveEntriesWithEqualData(), and lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::Sort().
|
inline |
Definition at line 670 of file RangeMap.h.
|
inline |
Definition at line 478 of file RangeMap.h.
|
inlineprivate |
Definition at line 697 of file RangeMap.h.
|
inline |
Definition at line 569 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryIndexesThatContain(), and lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryIndexesThatContain().
|
inline |
Definition at line 561 of file RangeMap.h.
|
inline |
Definition at line 651 of file RangeMap.h.
|
inline |
Definition at line 608 of file RangeMap.h.
|
inline |
Definition at line 579 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryIndexThatContains(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryThatContains(), lldb_private::LineTable::LinkLineTable(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::LinkOSOAddress(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::LinkOSOFileAddress(), and lldb_private::npdb::SymbolFileNativePDB::ParseInlineSite().
|
inline |
Definition at line 585 of file RangeMap.h.
|
inline |
Definition at line 589 of file RangeMap.h.
|
inline |
Definition at line 630 of file RangeMap.h.
|
inline |
Definition at line 544 of file RangeMap.h.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOARanges().
|
inline |
Definition at line 554 of file RangeMap.h.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges().
|
inline |
Definition at line 555 of file RangeMap.h.
|
inline |
Definition at line 548 of file RangeMap.h.
|
inline |
Definition at line 542 of file RangeMap.h.
Referenced by MinidumpFileBuilder::AddMemoryList(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOARanges(), and lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges().
|
inline |
Definition at line 540 of file RangeMap.h.
Referenced by MinidumpFileBuilder::AddMemoryList(), and lldb_private::Process::CalculateCoreFileSaveRanges().
|
inline |
Definition at line 485 of file RangeMap.h.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), and lldb_private::npdb::SymbolFileNativePDB::ParseLineTable().
|
protected |
Definition at line 674 of file RangeMap.h.
|
protected |
Definition at line 673 of file RangeMap.h.