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.
|
inline |
Definition at line 38 of file RangeMap.h.
|
inline |
Definition at line 40 of file RangeMap.h.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
Referenced by lldb_private::LineTable::GetContiguousFileAddressRanges(), and lldb_private::Block::GetRangeContainingOffset().
|
inline |
Definition at line 93 of file RangeMap.h.
References lldb_private::Range< B, S >::GetRangeBase(), and lldb_private::Range< B, S >::GetRangeEnd().
Referenced by lldb_private::AllocatedBlock::Contains(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::RangeDataVector< B, S, T, N, Compare >::FindEntryIndexesThatContain(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::HasErased(), lldb_private::LineTable::LinkLineTable(), and lldb_private::MemoryCache::Read().
|
inline |
Definition at line 101 of file RangeMap.h.
References lldb_private::Contains, lldb_private::Range< B, S >::ContainsEndInclusive(), lldb_private::Range< B, S >::GetRangeBase(), and lldb_private::Range< B, S >::GetRangeEnd().
|
inline |
Definition at line 97 of file RangeMap.h.
References lldb_private::Range< B, S >::GetRangeBase(), and lldb_private::Range< B, S >::GetRangeEnd().
Referenced by lldb_private::Range< B, S >::Contains().
|
inline |
Definition at line 107 of file RangeMap.h.
References lldb_private::Range< B, S >::GetRangeBase(), and lldb_private::Range< B, S >::GetRangeEnd().
Referenced by lldb_private::RangeVector< B, S, N >::CombineConsecutiveRanges(), and lldb_private::Range< B, S >::Union().
|
inline |
Definition at line 117 of file RangeMap.h.
References lldb_private::Range< B, S >::Intersect(), and lldb_private::Range< B, S >::IsValid().
Referenced by lldb_private::MemoryCache::Flush(), and lldb_private::DWARFCallFrameInfo::GetFirstFDEEntryInRange().
|
inline |
Definition at line 87 of file RangeMap.h.
References lldb_private::Range< B, S >::size.
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::AllocatedBlock::GetByteSize(), lldb_private::Block::GetRangeAtIndex(), lldb_private::Block::GetRangeContainingAddress(), lldb_private::Block::GetRanges(), ObjectFileMachO::GetThreadContextAtIndex(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::Symtab::InitAddressIndexes(), DynamicLoaderPOSIXDYLD::LoadVDSO(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseBlocksRecursive(), lldb_private::process_linux::NativeProcessLinux::ReadMemoryTags(), lldb_private::Process::RemoveInvalidMemoryRange(), lldb_private::MemoryCache::RemoveInvalidRange(), lldb_private::MemoryTagManagerAArch64MTE::RepeatTagsForRange(), and lldb_private::AllocatedBlock::ReserveBlock().
|
inline |
Definition at line 45 of file RangeMap.h.
References lldb_private::Range< B, S >::base.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), lldb_private::Process::AddInvalidMemoryRegion(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::AddOSOARanges(), lldb_private::Block::AddRange(), lldb_private::RangeVector< B, S, N >::BaseLessThan(), lldb_private::RangeDataVector< B, S, T, N, Compare >::BaseLessThan(), lldb_private::plugin::dwarf::DWARFCompileUnit::BuildAddressRangeTable(), lldb_private::minidump::ProcessMinidump::BuildMemoryRegions(), lldb_private::Range< B, S >::Contains(), lldb_private::Range< B, S >::ContainsEndInclusive(), CreateCoreFileMemoryRange(), ProcessMachCore::CreateMemoryRegions(), lldb_private::Range< B, S >::DoesAdjoinOrIntersect(), CommandObjectMemoryTagWrite::DoExecute(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), ProcessElfCore::DoReadMemory(), ProcessMachCore::DoReadMemory(), lldb_private::plugin::dwarf::DWARFDebugAranges::Dump(), lldb_private::Block::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::AllocatedBlock::GetBaseAddress(), lldb_private::LineTable::GetContiguousFileAddressRanges(), lldb_private::Block::GetDescription(), lldb_private::DWARFExpressionList::GetDescription(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::ScriptedProcess::GetMemoryRegions(), lldb_private::Block::GetRangeAtIndex(), lldb_private::Block::GetRangeContainingAddress(), lldb_private::Block::GetRanges(), lldb_private::Block::GetStartAddress(), lldb_private::MemoryTagMap::GetTags(), ObjectFileMachO::GetThreadContextAtIndex(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::Range< B, S >::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::plugin::dwarf::SymbolFileDWARF::ParseBlocksRecursive(), 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.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
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::RangeVector< B, S, N >::CombineConsecutiveRanges(), lldb_private::Range< B, S >::Contains(), lldb_private::Range< B, S >::ContainsEndInclusive(), ProcessMachCore::CreateMemoryRegions(), lldb_private::Range< B, S >::DoesAdjoinOrIntersect(), CommandObjectMemoryRegion::DoExecute(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), ProcessElfCore::DoReadMemory(), ProcessMachCore::DoReadMemory(), lldb_private::process_gdb_remote::ProcessGDBRemote::DoWriteMemory(), lldb_private::plugin::dwarf::DWARFDebugAranges::Dump(), lldb_private::Block::Dump(), lldb_private::Block::DumpAddressRanges(), lldb_private::DWARFExpressionList::DumpLocations(), CommandObjectMemoryRegion::DumpRegion(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FinalizeOSOFileRanges(), lldb_private::RangeDataVector< B, S, T, N, Compare >::FindEntryThatContainsOrFollows(), 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< B, S >::Intersect(), lldb_private::LineTable::LinkLineTable(), ProcessMachCore::LoadBinariesViaExhaustiveSearch(), ProcessMachCore::LoadBinaryViaLowmemUUID(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseBlocksRecursive(), ProcessElfCore::ReadMemoryTags(), lldb_private::AllocatedBlock::ReserveBlock(), SaveOffRegionsWithStackPointers(), and lldb_private::Range< B, S >::Union().
|
inline |
Definition at line 67 of file RangeMap.h.
References lldb_private::Range< B, S >::GetRangeBase(), lldb_private::Range< B, S >::GetRangeEnd(), lldb_private::Range< B, S >::SetRangeBase(), and lldb_private::Range< B, S >::SetRangeEnd().
Referenced by lldb_private::Range< B, S >::DoesIntersect(), and lldb_private::RangeVector< B, S, N >::GetOverlaps().
|
inline |
Definition at line 91 of file RangeMap.h.
References lldb_private::Range< B, S >::size.
Referenced by lldb_private::Range< B, S >::DoesIntersect(), lldb_private::MemoryTagManagerAArch64MTE::ExpandToGranule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::RangeVector< B, S, N >::GetOverlaps(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRange(), lldb_private::MemoryTagManagerAArch64MTE::MakeTaggedRanges(), and lldb_private::MemoryTagManagerAArch64MTE::RepeatTagsForRange().
|
inline |
Definition at line 131 of file RangeMap.h.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
|
inline |
Definition at line 121 of file RangeMap.h.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
|
inline |
Definition at line 127 of file RangeMap.h.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
|
inline |
Definition at line 89 of file RangeMap.h.
References lldb_private::Range< B, S >::size.
Referenced by AddSectionsToRangeMap(), CreateRegionsCacheFromMemoryInfoList(), CreateRegionsCacheFromMemoryList(), lldb_private::process_gdb_remote::ProcessGDBRemote::FlashErase(), ObjectFileMachO::GetEncryptedFileRanges(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), ObjectFileMachO::GetNumThreadContexts(), lldb_private::Symtab::InitAddressIndexes(), 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.
References lldb_private::Range< B, S >::base.
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_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), ObjectFileMachO::GetNumThreadContexts(), lldb_private::Symtab::InitAddressIndexes(), lldb_private::Range< B, S >::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.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
Referenced by ProcessElfCore::AddAddressRangeFromLoadSegment(), lldb_private::RangeVector< B, S, N >::CombineConsecutiveRanges(), ProcessMachCore::CreateMemoryRegions(), ProcessElfCore::DoGetMemoryRegionInfo(), ProcessMachCore::DoGetMemoryRegionInfo(), lldb_private::LineTable::GetContiguousFileAddressRanges(), lldb_private::minidump::MinidumpParser::GetMemoryRegionInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetMemoryRegionInfo(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetMemoryRegionInfo(), lldb_private::process_linux::NativeProcessLinux::GetMemoryRegionInfo(), lldb_private::process_netbsd::NativeProcessNetBSD::GetMemoryRegionInfo(), lldb_private::Range< B, S >::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.
References lldb_private::Range< B, S >::base, and lldb_private::Range< B, S >::size.
|
inline |
Definition at line 50 of file RangeMap.h.
References lldb_private::Range< B, S >::base.
|
inline |
Definition at line 57 of file RangeMap.h.
References lldb_private::Range< B, S >::base, lldb_private::Range< B, S >::DoesAdjoinOrIntersect(), lldb_private::Range< B, S >::GetRangeEnd(), and lldb_private::Range< B, S >::size.
BaseType lldb_private::Range< B, S >::base |
Definition at line 33 of file RangeMap.h.
Referenced by lldb_private::Range< B, S >::Clear(), lldb_private::RangeDataVector< B, S, T, N, Compare >::ComputeUpperBounds(), lldb_private::RangeDataVector< B, S, T, N, Compare >::FindEntryIndexesThatContain(), lldb_private::DWARFCallFrameInfo::ForEachFDEEntries(), lldb_private::DWARFCallFrameInfo::GetAddressRange(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), lldb_private::Range< B, S >::GetRangeBase(), lldb_private::Range< B, S >::GetRangeEnd(), lldb_private::Range< B, S >::operator!=(), lldb_private::Range< B, S >::operator<(), lldb_private::Range< B, S >::operator==(), ObjectFileMachO::ParseSymtab(), lldb_private::Range< B, S >::SetRangeBase(), lldb_private::Range< B, S >::SetRangeEnd(), lldb_private::Range< B, S >::ShrinkFront(), lldb_private::Range< B, S >::Slide(), and lldb_private::Range< B, S >::Union().
SizeType lldb_private::Range< B, S >::size |
Definition at line 34 of file RangeMap.h.
Referenced by lldb_private::Range< B, S >::Clear(), lldb_private::RangeDataVector< B, S, T, N, Compare >::ComputeUpperBounds(), lldb_private::DWARFCallFrameInfo::ForEachFDEEntries(), lldb_private::DWARFCallFrameInfo::GetAddressRange(), lldb_private::Range< B, S >::GetByteSize(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), lldb_private::Range< B, S >::GetRangeEnd(), lldb_private::Range< B, S >::IsValid(), lldb_private::Range< B, S >::operator!=(), lldb_private::Range< B, S >::operator<(), lldb_private::Range< B, S >::operator==(), lldb_private::Range< B, S >::SetByteSize(), lldb_private::Range< B, S >::SetRangeEnd(), lldb_private::Range< B, S >::ShrinkFront(), and lldb_private::Range< B, S >::Union().