LLDB  mainline
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
lldb_private::RangeDataVector< B, S, T, N > Class Template Reference

#include <RangeMap.h>

Inheritance diagram for lldb_private::RangeDataVector< B, S, T, N >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::RangeDataVector< B, S, T, N >:
Collaboration graph
[legend]

Public Types

typedef lldb_private::Range< B, S > Range
 
typedef RangeData< B, S, T > Entry
 
typedef llvm::SmallVector< Entry, N > Collection
 

Public Member Functions

 RangeDataVector ()=default
 
 ~RangeDataVector ()=default
 
void Append (const Entry &entry)
 
void Sort ()
 
void CombineConsecutiveEntriesWithEqualData ()
 
void Clear ()
 
bool IsEmpty () const
 
size_t GetSize () const
 
const EntryGetEntryAtIndex (size_t i) const
 
EntryGetMutableEntryAtIndex (size_t i)
 
EntryGetEntryRef (size_t i)
 
const EntryGetEntryRef (size_t i) const
 
uint32_t FindEntryIndexThatContains (B addr) const
 
uint32_t FindEntryIndexesThatContain (B addr, std::vector< uint32_t > &indexes) const
 
EntryFindEntryThatContains (B addr)
 
const EntryFindEntryThatContains (B addr) const
 
const EntryFindEntryThatContains (const Entry &range) const
 
const EntryFindEntryStartsAt (B addr) const
 
const EntryFindEntryThatContainsOrFollows (B addr) const
 
EntryBack ()
 
const EntryBack () const
 

Static Public Member Functions

static bool BaseLessThan (const Entry &lhs, const Entry &rhs)
 

Protected Attributes

Collection m_entries
 

Detailed Description

template<typename B, typename S, typename T, unsigned N = 0>
class lldb_private::RangeDataVector< B, S, T, N >

Definition at line 625 of file RangeMap.h.

Member Typedef Documentation

◆ Collection

template<typename B, typename S, typename T, unsigned N = 0>
typedef llvm::SmallVector<Entry, N> lldb_private::RangeDataVector< B, S, T, N >::Collection

Definition at line 629 of file RangeMap.h.

◆ Entry

template<typename B, typename S, typename T, unsigned N = 0>
typedef RangeData<B, S, T> lldb_private::RangeDataVector< B, S, T, N >::Entry

Definition at line 628 of file RangeMap.h.

◆ Range

template<typename B, typename S, typename T, unsigned N = 0>
typedef lldb_private::Range<B, S> lldb_private::RangeDataVector< B, S, T, N >::Range

Definition at line 627 of file RangeMap.h.

Constructor & Destructor Documentation

◆ RangeDataVector()

template<typename B, typename S, typename T, unsigned N = 0>
lldb_private::RangeDataVector< B, S, T, N >::RangeDataVector ( )
default

◆ ~RangeDataVector()

template<typename B, typename S, typename T, unsigned N = 0>
lldb_private::RangeDataVector< B, S, T, N >::~RangeDataVector ( )
default

Member Function Documentation

◆ Append()

template<typename B, typename S, typename T, unsigned N = 0>
void lldb_private::RangeDataVector< B, S, T, N >::Append ( const Entry entry)
inline

◆ Back() [1/2]

template<typename B, typename S, typename T, unsigned N = 0>
Entry* lldb_private::RangeDataVector< B, S, T, N >::Back ( )
inline

Definition at line 810 of file RangeMap.h.

Referenced by ProcessMachCore::DoLoadCore(), and ProcessElfCore::GetPluginVersion().

◆ Back() [2/2]

template<typename B, typename S, typename T, unsigned N = 0>
const Entry* lldb_private::RangeDataVector< B, S, T, N >::Back ( ) const
inline

Definition at line 812 of file RangeMap.h.

◆ BaseLessThan()

template<typename B, typename S, typename T, unsigned N = 0>
static bool lldb_private::RangeDataVector< B, S, T, N >::BaseLessThan ( const Entry lhs,
const Entry rhs 
)
inlinestatic

Definition at line 711 of file RangeMap.h.

◆ Clear()

template<typename B, typename S, typename T, unsigned N = 0>
void lldb_private::RangeDataVector< B, S, T, N >::Clear ( )
inline

◆ CombineConsecutiveEntriesWithEqualData()

template<typename B, typename S, typename T, unsigned N = 0>
void lldb_private::RangeDataVector< B, S, T, N >::CombineConsecutiveEntriesWithEqualData ( )
inline

Definition at line 656 of file RangeMap.h.

Referenced by DWARFDebugAranges::Sort().

◆ FindEntryIndexesThatContain()

template<typename B, typename S, typename T, unsigned N = 0>
uint32_t lldb_private::RangeDataVector< B, S, T, N >::FindEntryIndexesThatContain ( addr,
std::vector< uint32_t > &  indexes 
) const
inline

◆ FindEntryIndexThatContains()

template<typename B, typename S, typename T, unsigned N = 0>
uint32_t lldb_private::RangeDataVector< B, S, T, N >::FindEntryIndexThatContains ( addr) const
inline

Definition at line 715 of file RangeMap.h.

Referenced by SymbolFileDWARFDebugMap::AddOSOFileRange().

◆ FindEntryStartsAt()

template<typename B, typename S, typename T, unsigned N = 0>
const Entry* lldb_private::RangeDataVector< B, S, T, N >::FindEntryStartsAt ( addr) const
inline

Definition at line 766 of file RangeMap.h.

Referenced by lldb_private::Symtab::FindSymbolAtFileAddress().

◆ FindEntryThatContains() [1/3]

template<typename B, typename S, typename T, unsigned N = 0>
Entry* lldb_private::RangeDataVector< B, S, T, N >::FindEntryThatContains ( addr)
inline

◆ FindEntryThatContains() [2/3]

template<typename B, typename S, typename T, unsigned N = 0>
const Entry* lldb_private::RangeDataVector< B, S, T, N >::FindEntryThatContains ( addr) const
inline

Definition at line 743 of file RangeMap.h.

◆ FindEntryThatContains() [3/3]

template<typename B, typename S, typename T, unsigned N = 0>
const Entry* lldb_private::RangeDataVector< B, S, T, N >::FindEntryThatContains ( const Entry range) const
inline

Definition at line 747 of file RangeMap.h.

◆ FindEntryThatContainsOrFollows()

template<typename B, typename S, typename T, unsigned N = 0>
const Entry* lldb_private::RangeDataVector< B, S, T, N >::FindEntryThatContainsOrFollows ( addr) const
inline

◆ GetEntryAtIndex()

template<typename B, typename S, typename T, unsigned N = 0>
const Entry* lldb_private::RangeDataVector< B, S, T, N >::GetEntryAtIndex ( size_t  i) const
inline

◆ GetEntryRef() [1/2]

template<typename B, typename S, typename T, unsigned N = 0>
Entry& lldb_private::RangeDataVector< B, S, T, N >::GetEntryRef ( size_t  i)
inline

◆ GetEntryRef() [2/2]

template<typename B, typename S, typename T, unsigned N = 0>
const Entry& lldb_private::RangeDataVector< B, S, T, N >::GetEntryRef ( size_t  i) const
inline

Definition at line 709 of file RangeMap.h.

◆ GetMutableEntryAtIndex()

template<typename B, typename S, typename T, unsigned N = 0>
Entry* lldb_private::RangeDataVector< B, S, T, N >::GetMutableEntryAtIndex ( size_t  i)
inline

◆ GetSize()

template<typename B, typename S, typename T, unsigned N = 0>
size_t lldb_private::RangeDataVector< B, S, T, N >::GetSize ( ) const
inline

◆ IsEmpty()

template<typename B, typename S, typename T, unsigned N = 0>
bool lldb_private::RangeDataVector< B, S, T, N >::IsEmpty ( ) const
inline

Definition at line 694 of file RangeMap.h.

Referenced by DWARFDebugAranges::IsEmpty().

◆ Sort()

template<typename B, typename S, typename T, unsigned N = 0>
void lldb_private::RangeDataVector< B, S, T, N >::Sort ( )
inline

Member Data Documentation

◆ m_entries

template<typename B, typename S, typename T, unsigned N = 0>
Collection lldb_private::RangeDataVector< B, S, T, N >::m_entries
protected

Definition at line 817 of file RangeMap.h.


The documentation for this class was generated from the following file: