LLDB mainline
|
#include <RangeMap.h>
Public Types | |
typedef B | BaseType |
typedef S | SizeType |
typedef Range< B, S > | Entry |
typedef llvm::SmallVector< Entry, N > | Collection |
using | const_iterator = typename Collection::const_iterator |
Public Member Functions | |
RangeVector ()=default | |
~RangeVector ()=default | |
bool | operator== (const RangeVector &rhs) const |
void | Append (const Entry &entry) |
void | Append (B base, S size) |
void | Insert (const Entry &entry, bool combine) |
bool | RemoveEntryAtIndex (uint32_t idx) |
void | Sort () |
void | CombineConsecutiveRanges () |
BaseType | GetMinRangeBase (BaseType fail_value) const |
BaseType | GetMaxRangeEnd (BaseType fail_value) const |
void | Slide (BaseType slide) |
void | Clear () |
void | Reserve (typename Collection::size_type size) |
bool | IsEmpty () const |
size_t | GetSize () const |
const Entry * | GetEntryAtIndex (size_t i) const |
Entry & | GetEntryRef (size_t i) |
const Entry & | GetEntryRef (size_t i) const |
Entry * | Back () |
const Entry * | Back () const |
uint32_t | FindEntryIndexThatContains (B addr) const |
const Entry * | FindEntryThatContains (B addr) const |
const Entry * | FindEntryThatContains (const Entry &range) const |
const Entry * | FindEntryThatIntersects (const Entry &range) const |
const_iterator | begin () const |
const_iterator | end () const |
Static Public Member Functions | |
static RangeVector | GetOverlaps (const RangeVector &vec1, const RangeVector &vec2) |
static bool | BaseLessThan (const Entry &lhs, const Entry &rhs) |
Protected Member Functions | |
void | CombinePrevAndNext (typename Collection::iterator pos) |
Protected Attributes | |
Collection | m_entries |
Definition at line 136 of file RangeMap.h.
typedef B lldb_private::RangeVector< B, S, N >::BaseType |
Definition at line 138 of file RangeMap.h.
typedef llvm::SmallVector<Entry, N> lldb_private::RangeVector< B, S, N >::Collection |
Definition at line 141 of file RangeMap.h.
using lldb_private::RangeVector< B, S, N >::const_iterator = typename Collection::const_iterator |
Definition at line 402 of file RangeMap.h.
typedef Range<B, S> lldb_private::RangeVector< B, S, N >::Entry |
Definition at line 140 of file RangeMap.h.
typedef S lldb_private::RangeVector< B, S, N >::SizeType |
Definition at line 139 of file RangeMap.h.
|
default |
|
default |
|
inline |
Definition at line 181 of file RangeMap.h.
|
inline |
Definition at line 179 of file RangeMap.h.
Referenced by AddSectionsToRangeMap(), CommandObjectThreadUntil::DoExecute(), lldb_private::LineTable::GetContiguousFileAddressRanges(), ObjectFileMachO::GetEncryptedFileRanges(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::GetOverlaps(), MakeRangeList(), lldb_private::SymbolFileCTF::ParseObjects(), and SymbolFilePDB::ParseVariableForPDBData().
|
inline |
Definition at line 306 of file RangeMap.h.
|
inline |
Definition at line 308 of file RangeMap.h.
|
inlinestatic |
Definition at line 312 of file RangeMap.h.
|
inline |
Definition at line 403 of file RangeMap.h.
Referenced by lldb_private::RangeVector< int32_t, uint32_t, 1 >::GetOverlaps().
|
inline |
Definition at line 289 of file RangeMap.h.
Referenced by lldb_private::LineTable::GetContiguousFileAddressRanges(), and lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector().
|
inline |
Definition at line 236 of file RangeMap.h.
|
inlineprotected |
Definition at line 407 of file RangeMap.h.
Referenced by lldb_private::RangeVector< int32_t, uint32_t, 1 >::Insert().
|
inline |
Definition at line 404 of file RangeMap.h.
Referenced by lldb_private::RangeVector< int32_t, uint32_t, 1 >::GetOverlaps().
|
inline |
Definition at line 316 of file RangeMap.h.
Referenced by CommandObjectThreadUntil::DoExecute().
|
inline |
Definition at line 338 of file RangeMap.h.
Referenced by lldb_private::Symtab::InitAddressIndexes(), lldb_private::Variable::LocationIsValidForAddress(), and ObjectFileMachO::ProcessSegmentCommand().
|
inline |
Definition at line 361 of file RangeMap.h.
|
inline |
Definition at line 383 of file RangeMap.h.
|
inline |
Definition at line 297 of file RangeMap.h.
Referenced by GetCorrespondingFrameData(), and ObjectFileMachO::ParseSymtab().
|
inline |
Definition at line 303 of file RangeMap.h.
Referenced by lldb_private::plugin::dwarf::DWARFCompileUnit::BuildAddressRangeTable(), GetCorrespondingFrameData(), and lldb_private::RangeVector< int32_t, uint32_t, 1 >::operator==().
|
inline |
Definition at line 304 of file RangeMap.h.
|
inline |
Definition at line 272 of file RangeMap.h.
Referenced by CommandObjectThreadUntil::DoExecute().
|
inline |
Definition at line 261 of file RangeMap.h.
Referenced by CommandObjectThreadUntil::DoExecute().
|
inlinestatic |
Definition at line 147 of file RangeMap.h.
|
inline |
Definition at line 295 of file RangeMap.h.
Referenced by lldb_private::LineTable::GetContiguousFileAddressRanges(), GetCorrespondingFrameData(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::operator==(), and ObjectFileMachO::ParseSymtab().
|
inline |
Definition at line 185 of file RangeMap.h.
|
inline |
Definition at line 293 of file RangeMap.h.
Referenced by GetCorrespondingFrameData(), and lldb_private::Variable::LocationIsValidForAddress().
|
inline |
Definition at line 169 of file RangeMap.h.
|
inline |
Definition at line 209 of file RangeMap.h.
|
inline |
Definition at line 291 of file RangeMap.h.
Referenced by lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector().
|
inline |
Definition at line 283 of file RangeMap.h.
|
inline |
Definition at line 217 of file RangeMap.h.
Referenced by CommandObjectThreadUntil::DoExecute(), and lldb_private::Symtab::InitAddressIndexes().
|
protected |
Definition at line 427 of file RangeMap.h.