diff options
| author | Howard Hellyer <hhellyer@uk.ibm.com> | 2016-07-07 08:21:28 +0000 |
|---|---|---|
| committer | Howard Hellyer <hhellyer@uk.ibm.com> | 2016-07-07 08:21:28 +0000 |
| commit | ad00756301c73771a058f23c77226627c8e27f9a (patch) | |
| tree | 7aa4ccfac5dd428896f50b1fe81853d69ee07f2b /lldb/scripts/interface | |
| parent | 168800c97d852bcda062200be861eb30aa334941 (diff) | |
| download | bcm5719-llvm-ad00756301c73771a058f23c77226627c8e27f9a.tar.gz bcm5719-llvm-ad00756301c73771a058f23c77226627c8e27f9a.zip | |
Implement GetMemoryRegions() for Linux and Mac OSX core files.
Summary:
This patch fills in the implementation of GetMemoryRegions() on the Linux and Mac OS core file implementations of lldb_private::Process (ProcessElfCore::GetMemoryRegions and ProcessMachCore::GetMemoryRegions.) The GetMemoryRegions API was added under: http://reviews.llvm.org/D20565
The patch re-uses the m_core_range_infos list that was recently added to implement GetMemoryRegionInfo in both ProcessElfCore and ProcessMachCore to ensure the returned regions match the regions returned by Process::GetMemoryRegionInfo(addr_t load_addr, MemoryRegionInfo ®ion_info).
Reviewers: clayborg
Subscribers: labath, lldb-commits
Differential Revision: http://reviews.llvm.org/D21751
llvm-svn: 274741
Diffstat (limited to 'lldb/scripts/interface')
| -rw-r--r-- | lldb/scripts/interface/SBMemoryRegionInfo.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBMemoryRegionInfo.i b/lldb/scripts/interface/SBMemoryRegionInfo.i index b38a290b940..d6877080261 100644 --- a/lldb/scripts/interface/SBMemoryRegionInfo.i +++ b/lldb/scripts/interface/SBMemoryRegionInfo.i @@ -42,6 +42,9 @@ public: IsExecutable (); bool + IsMapped (); + + bool operator == (const lldb::SBMemoryRegionInfo &rhs) const; bool |

