LLDB mainline
|
#include <RangeMap.h>
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) |
Set the start value for the range, and keep the same size. | |
void | Slide (BaseType slide) |
void | ShrinkFront (S s) |
bool | Union (const Range &rhs) |
Range | Intersect (const Range &rhs) const |
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 |
Definition at line 29 of file RangeMap.h.
typedef B lldb_private::Range< B, S >::BaseType |
Definition at line 30 of file RangeMap.h.
typedef S lldb_private::Range< B, S >::SizeType |
Definition at line 31 of file RangeMap.h.
|
inline |
Definition at line 36 of file RangeMap.h.
Referenced by lldb_private::RangeData< B, S, T >::RangeData(), lldb_private::RangeData< B, S, T >::RangeData(), and lldb_private::RangeData< B, S, T >::RangeData().
|
inline |
Definition at line 38 of file RangeMap.h.
|
inline |
Definition at line 40 of file RangeMap.h.
Referenced by lldb_private::LineTable::GetContiguousFileAddressRanges(), and lldb_private::Block::GetRangeContainingOffset().
|
inline |
Definition at line 93 of file RangeMap.h.
Referenced by ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryIndexesThatContain(), lldb_private::Process::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::LineTable::LinkLineTable(), and lldb_private::MemoryCache::Read().
|
inline |
Definition at line 101 of file RangeMap.h.
|
inline |
Definition at line 97 of file RangeMap.h.
Referenced by lldb_private::Range< uint32_t, uint32_t >::Contains().
|
inline |
Definition at line 107 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::CombineConsecutiveEntriesWithEqualData(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::CombineConsecutiveRanges(), and lldb_private::Range< uint32_t, uint32_t >::Union().
|
inline |
Definition at line 117 of file RangeMap.h.
Referenced by lldb_private::MemoryCache::Flush(), and lldb_private::DWARFCallFrameInfo::GetFirstFDEEntryInRange().
|
inline |
Definition at line 87 of file RangeMap.h.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), lldb_private::Process::AddInvalidMemoryRegion(), AddRegion(), CheckForLinuxExecutable(), CreateCoreFileMemoryRange(), lldb_private::MemoryTagManagerAArch64MTE::ExpandToGranule(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::Block::GetRangeContainingAddress(), ObjectFileMachO::GetThreadContextAtIndex(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::Symtab::InitAddressIndexes(), DynamicLoaderPOSIXDYLD::LoadVDSO(), lldb_private::process_linux::NativeProcessLinux::ReadMemoryTags(), lldb_private::Process::RemoveInvalidMemoryRange(), lldb_private::MemoryCache::RemoveInvalidRange(), and lldb_private::MemoryTagManagerAArch64MTE::RepeatTagsForRange().
|
inline |
Definition at line 45 of file RangeMap.h.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), lldb_private::Process::AddInvalidMemoryRegion(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOARanges(), lldb_private::Block::AddRange(), AddRegion(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::BaseLessThan(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::BaseLessThan(), lldb_private::plugin::dwarf::DWARFCompileUnit::BuildAddressRangeTable(), lldb_private::minidump::ProcessMinidump::BuildMemoryRegions(), lldb_private::Range< uint32_t, uint32_t >::Contains(), lldb_private::Range< uint32_t, uint32_t >::Contains(), lldb_private::Range< uint32_t, uint32_t >::ContainsEndInclusive(), CreateCoreFileMemoryRange(), ProcessMachCore::CreateMemoryRegions(), lldb_private::Range< uint32_t, uint32_t >::DoesAdjoinOrIntersect(), CommandObjectMemoryTagWrite::DoExecute(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), ProcessElfCore::DoReadMemory(), ProcessMachCore::DoReadMemory(), lldb_private::Block::Dump(), lldb_private::plugin::dwarf::DWARFDebugAranges::Dump(), lldb_private::Block::DumpAddressRanges(), lldb_private::DWARFExpressionList::DumpLocations(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::MemoryTagManagerAArch64MTE::ExpandToGranule(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::LineTable::GetContiguousFileAddressRanges(), lldb_private::Block::GetDescription(), lldb_private::DWARFExpressionList::GetDescription(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::Block::GetRangeContainingAddress(), lldb_private::MemoryTagMap::GetTags(), ObjectFileMachO::GetThreadContextAtIndex(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::Range< uint32_t, uint32_t >::Intersect(), lldb_private::LineTable::LinkLineTable(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::LinkOSOAddress(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::LinkOSOFileAddress(), ProcessMachCore::LoadBinariesViaExhaustiveSearch(), ProcessMachCore::LoadBinaryViaLowmemUUID(), DynamicLoaderPOSIXDYLD::LoadModuleAtAddress(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), lldb_private::operator<(), lldb_private::operator<(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), lldb_private::MemoryCache::Read(), lldb_private::process_linux::NativeProcessLinux::ReadMemoryTags(), ProcessElfCore::ReadMemoryTags(), lldb_private::Process::RemoveInvalidMemoryRange(), lldb_private::MemoryCache::RemoveInvalidRange(), and lldb_private::process_linux::NativeProcessLinux::WriteMemoryTags().
|
inline |
Definition at line 78 of file RangeMap.h.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOARanges(), lldb_private::Block::AddRange(), MinidumpFileBuilder::AddThreadList(), lldb_private::plugin::dwarf::DWARFCompileUnit::BuildAddressRangeTable(), lldb_private::minidump::ProcessMinidump::BuildMemoryRegions(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::CombineConsecutiveEntriesWithEqualData(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::CombineConsecutiveRanges(), lldb_private::Range< uint32_t, uint32_t >::Contains(), lldb_private::Range< uint32_t, uint32_t >::Contains(), lldb_private::Range< uint32_t, uint32_t >::ContainsEndInclusive(), ProcessMachCore::CreateMemoryRegions(), lldb_private::Range< uint32_t, uint32_t >::DoesAdjoinOrIntersect(), CommandObjectMemoryRegion::DoExecute(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), ProcessElfCore::DoReadMemory(), ProcessMachCore::DoReadMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::Block::Dump(), lldb_private::plugin::dwarf::DWARFDebugAranges::Dump(), lldb_private::Block::DumpAddressRanges(), lldb_private::DWARFExpressionList::DumpLocations(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryThatContainsOrFollows(), lldb_private::Process::FindInMemory(), lldb_private::IRMemoryMap::FindSpace(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::Block::GetDescription(), lldb_private::DWARFExpressionList::GetDescription(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::Process::GetMemoryRegions(), lldb_private::MemoryTagMap::GetTags(), lldb_private::Range< uint32_t, uint32_t >::Intersect(), lldb_private::LineTable::LinkLineTable(), ProcessMachCore::LoadBinariesViaExhaustiveSearch(), ProcessMachCore::LoadBinaryViaLowmemUUID(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), lldb_private::ProcessDebugger::ReadMemory(), ProcessElfCore::ReadMemoryTags(), lldb_private::AllocatedBlock::ReserveBlock(), SaveOffRegionsWithStackPointers(), and lldb_private::Range< uint32_t, uint32_t >::Union().
|
inline |
Definition at line 67 of file RangeMap.h.
Referenced by lldb_private::Range< uint32_t, uint32_t >::DoesIntersect(), and Intersect().
|
inline |
Definition at line 91 of file RangeMap.h.
Referenced by lldb_private::Range< uint32_t, uint32_t >::DoesIntersect(), lldb_private::MemoryTagManagerAArch64MTE::ExpandToGranule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::GetOverlaps(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), and lldb_private::MemoryTagManagerAArch64MTE::RepeatTagsForRange().
|
inline |
Definition at line 131 of file RangeMap.h.
|
inline |
Definition at line 121 of file RangeMap.h.
|
inline |
Definition at line 127 of file RangeMap.h.
|
inline |
Definition at line 89 of file RangeMap.h.
Referenced by AddSectionsToRangeMap(), CreateRegionsCacheFromMemoryInfoList(), CreateRegionsCacheFromMemoryList(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), ObjectFileMachO::GetEncryptedFileRanges(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), ObjectFileMachO::GetNumThreadContexts(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LoadQXferMemoryMap(), lldb_private::AllocatedBlock::ReserveBlock(), and SaveOffRegionsWithStackPointers().
|
inline |
Set the start value for the range, and keep the same size.
Definition at line 48 of file RangeMap.h.
Referenced by AddSectionsToRangeMap(), CreateRegionsCacheFromMemoryInfoList(), CreateRegionsCacheFromMemoryList(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), lldb_private::LineTable::GetContiguousFileAddressRanges(), ObjectFileMachO::GetEncryptedFileRanges(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), ObjectFileMachO::GetNumThreadContexts(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::Range< uint32_t, uint32_t >::Intersect(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::LoadQXferMemoryMap(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache(), and SaveOffRegionsWithStackPointers().
|
inline |
Definition at line 80 of file RangeMap.h.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::CombineConsecutiveEntriesWithEqualData(), lldb_private::RangeVector< int32_t, uint32_t, 1 >::CombineConsecutiveRanges(), ProcessMachCore::CreateMemoryRegions(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::LineTable::GetContiguousFileAddressRanges(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::Range< uint32_t, uint32_t >::Intersect(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), ParseMemoryRegionInfoFromProcMapsLine(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache().
|
inline |
Definition at line 52 of file RangeMap.h.
|
inline |
Definition at line 50 of file RangeMap.h.
|
inline |
Definition at line 57 of file RangeMap.h.
BaseType lldb_private::Range< B, S >::base |
Definition at line 33 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::ComputeUpperBounds(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::FindEntryIndexesThatContain(), lldb_private::DWARFCallFrameInfo::ForEachFDEEntries(), lldb_private::DWARFCallFrameInfo::GetAddressRange(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), lldb_private::Range< uint32_t, uint32_t >::operator!=(), lldb_private::Range< uint32_t, uint32_t >::operator<(), lldb_private::Range< uint32_t, uint32_t >::operator==(), ObjectFileMachO::ParseSymtab(), lldb_private::RangeData< B, S, T >::RangeData(), lldb_private::RangeData< B, S, T >::RangeData(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::Sort(), ToAddressRange(), and lldb_private::Range< uint32_t, uint32_t >::Union().
SizeType lldb_private::Range< B, S >::size |
Definition at line 34 of file RangeMap.h.
Referenced by lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::ComputeUpperBounds(), lldb_private::DWARFCallFrameInfo::ForEachFDEEntries(), lldb_private::DWARFCallFrameInfo::GetAddressRange(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), lldb_private::Range< uint32_t, uint32_t >::operator!=(), lldb_private::Range< uint32_t, uint32_t >::operator<(), lldb_private::Range< uint32_t, uint32_t >::operator==(), lldb_private::RangeData< B, S, T >::RangeData(), lldb_private::RangeData< B, S, T >::RangeData(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare >::Sort(), and ToAddressRange().