LLDB mainline
|
#include <CoreFileMemoryRanges.h>
Additional Inherited Members | |
Public Types inherited from lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange > | |
typedef lldb_private::Range< lldb::addr_t, lldb::addr_t > | Range |
typedef RangeData< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange > | Entry |
typedef AugmentedRangeData< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange > | AugmentedEntry |
typedef llvm::SmallVector< AugmentedEntry, 0 > | Collection |
using | const_iterator = typename Collection::const_iterator |
Static Public Member Functions inherited from lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange > | |
static bool | BaseLessThan (const Entry &lhs, const Entry &rhs) |
Protected Attributes inherited from lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange > | |
Collection | m_entries |
std::less< CoreFileMemoryRange > | m_compare |
Definition at line 51 of file CoreFileMemoryRanges.h.
Status CoreFileMemoryRanges::FinalizeCoreFileSaveRanges | ( | ) |
Finalize and merge all overlapping ranges in this collection.
Ranges will be seperated based on permissions.
Definition at line 37 of file CoreFileMemoryRanges.cpp.
References lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange >::Erase(), error(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::Status::FromErrorStringWithFormatv(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange >::GetMutableEntryAtIndex(), lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange >::GetSize(), lldb_private::CoreFileMemoryRange::lldb_permissions, OnlyIntersects(), Overlaps(), PermissionsMatch(), and lldb_private::RangeDataVector< lldb::addr_t, lldb::addr_t, CoreFileMemoryRange >::Sort().
Referenced by lldb_private::Process::CalculateCoreFileSaveRanges().