LLDB  mainline
Public Types | Public Member Functions | Public Attributes | List of all members
lldb_private::Range< B, S > Struct Template Reference

#include <Process.h>

Inheritance diagram for lldb_private::Range< B, S >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::Range< B, S >:
Collaboration graph
[legend]

Public Types

typedef B BaseType
 
typedef S SizeType
 

Public Member Functions

 Range ()
 
 Range (BaseType b, SizeType s)
 
void Clear (BaseType b=0)
 
BaseType GetRangeBase () const
 
void SetRangeBase (BaseType b)
 
void Slide (BaseType slide)
 
bool Union (const Range &rhs)
 
BaseType GetRangeEnd () const
 
void SetRangeEnd (BaseType end)
 
SizeType GetByteSize () const
 
void SetByteSize (SizeType s)
 
bool IsValid () const
 
bool Contains (BaseType r) const
 
bool ContainsEndInclusive (BaseType r) const
 
bool Contains (const Range &range) const
 
bool DoesAdjoinOrIntersect (const Range &rhs) const
 
bool DoesIntersect (const Range &rhs) const
 
bool operator< (const Range &rhs) const
 
bool operator== (const Range &rhs) const
 
bool operator!= (const Range &rhs) const
 

Public Attributes

BaseType base
 
SizeType size
 

Detailed Description

template<typename B, typename S>
struct lldb_private::Range< B, S >

Definition at line 57 of file Process.h.

Member Typedef Documentation

◆ BaseType

template<typename B, typename S>
typedef B lldb_private::Range< B, S >::BaseType

Definition at line 30 of file RangeMap.h.

◆ SizeType

template<typename B, typename S>
typedef S lldb_private::Range< B, S >::SizeType

Definition at line 31 of file RangeMap.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

template<typename B, typename S>
lldb_private::Range< B, S >::Range ( )
inline

Definition at line 36 of file RangeMap.h.

◆ Range() [2/2]

template<typename B, typename S>
lldb_private::Range< B, S >::Range ( BaseType  b,
SizeType  s 
)
inline

Definition at line 38 of file RangeMap.h.

Member Function Documentation

◆ Clear()

template<typename B, typename S>
void lldb_private::Range< B, S >::Clear ( BaseType  b = 0)
inline

◆ Contains() [1/2]

template<typename B, typename S>
bool lldb_private::Range< B, S >::Contains ( BaseType  r) const
inline

◆ Contains() [2/2]

template<typename B, typename S>
bool lldb_private::Range< B, S >::Contains ( const Range< B, S > &  range) const
inline

Definition at line 85 of file RangeMap.h.

◆ ContainsEndInclusive()

template<typename B, typename S>
bool lldb_private::Range< B, S >::ContainsEndInclusive ( BaseType  r) const
inline

Definition at line 81 of file RangeMap.h.

Referenced by lldb_private::Range< lldb::addr_t, uint32_t >::Contains().

◆ DoesAdjoinOrIntersect()

template<typename B, typename S>
bool lldb_private::Range< B, S >::DoesAdjoinOrIntersect ( const Range< B, S > &  rhs) const
inline

Definition at line 91 of file RangeMap.h.

Referenced by lldb_private::Range< lldb::addr_t, uint32_t >::Union().

◆ DoesIntersect()

template<typename B, typename S>
bool lldb_private::Range< B, S >::DoesIntersect ( const Range< B, S > &  rhs) const
inline

Definition at line 101 of file RangeMap.h.

Referenced by lldb_private::DWARFCallFrameInfo::GetAddressRange().

◆ GetByteSize()

template<typename B, typename S>
SizeType lldb_private::Range< B, S >::GetByteSize ( ) const
inline

◆ GetRangeBase()

template<typename B, typename S>
BaseType lldb_private::Range< B, S >::GetRangeBase ( ) const
inline

Definition at line 46 of file RangeMap.h.

Referenced by lldb_private::Process::AddInvalidMemoryRegion(), SymbolFileDWARFDebugMap::AddOSOARanges(), lldb_private::RangeArray< lldb::addr_t, lldb::addr_t, 4 >::BaseLessThan(), lldb_private::RangeVector< uint32_t, uint32_t >::BaseLessThan(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, uint32_t >::BaseLessThan(), DWARFUnit::BuildAddressRangeTable(), SymbolFileDWARFDebugMap::CompleteType(), lldb_private::Range< lldb::addr_t, uint32_t >::Contains(), lldb_private::Range< lldb::addr_t, uint32_t >::ContainsEndInclusive(), lldb_private::Range< lldb::addr_t, uint32_t >::DoesAdjoinOrIntersect(), lldb_private::Range< lldb::addr_t, uint32_t >::DoesIntersect(), CommandObjectMemoryRegion::DoExecute(), ProcessMachCore::DoLoadCore(), ProcessMachCore::DoReadMemory(), ProcessElfCore::DoReadMemory(), DWARFDebugAranges::Dump(), SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::LineTable::GetContiguousFileAddressRanges(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), ProcessMachCore::GetMemoryRegionInfo(), ProcessElfCore::GetMemoryRegionInfo(), ProcessElfCore::GetPluginVersion(), lldb_private::Block::GetStartAddress(), ObjectFileMachO::GetThreadContextAtIndex(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::LineTable::LinkLineTable(), SymbolFileDWARFDebugMap::LinkOSOAddress(), SymbolFileDWARFDebugMap::LinkOSOFileAddress(), lldb_private::DynamicLoader::LoadModuleAtAddress(), lldb_private::RangeData< B, S, T >::operator!=(), lldb_private::operator<(), lldb_private::RangeData< B, S, T >::operator==(), SymbolFileDWARF::ParseBlocksRecursive(), lldb_private::Process::RemoveInvalidMemoryRange(), lldb_private::MemoryCache::RemoveInvalidRange(), and ObjectFileMachO::SaveCore().

◆ GetRangeEnd()

template<typename B, typename S>
BaseType lldb_private::Range< B, S >::GetRangeEnd ( ) const
inline

◆ IsValid()

template<typename B, typename S>
bool lldb_private::Range< B, S >::IsValid ( ) const
inline

◆ operator!=()

template<typename B, typename S>
bool lldb_private::Range< B, S >::operator!= ( const Range< B, S > &  rhs) const
inline

Definition at line 120 of file RangeMap.h.

◆ operator<()

template<typename B, typename S>
bool lldb_private::Range< B, S >::operator< ( const Range< B, S > &  rhs) const
inline

Definition at line 110 of file RangeMap.h.

◆ operator==()

template<typename B, typename S>
bool lldb_private::Range< B, S >::operator== ( const Range< B, S > &  rhs) const
inline

Definition at line 116 of file RangeMap.h.

◆ SetByteSize()

template<typename B, typename S>
void lldb_private::Range< B, S >::SetByteSize ( SizeType  s)
inline

◆ SetRangeBase()

template<typename B, typename S>
void lldb_private::Range< B, S >::SetRangeBase ( BaseType  b)
inline

◆ SetRangeEnd()

template<typename B, typename S>
void lldb_private::Range< B, S >::SetRangeEnd ( BaseType  end)
inline

◆ Slide()

template<typename B, typename S>
void lldb_private::Range< B, S >::Slide ( BaseType  slide)
inline

Definition at line 50 of file RangeMap.h.

◆ Union()

template<typename B, typename S>
bool lldb_private::Range< B, S >::Union ( const Range< B, S > &  rhs)
inline

Definition at line 52 of file RangeMap.h.

Member Data Documentation

◆ base

template<typename B, typename S>
BaseType lldb_private::Range< B, S >::base

◆ size

template<typename B, typename S>
SizeType lldb_private::Range< B, S >::size

The documentation for this struct was generated from the following files: