[Lldb-commits] [PATCH] D21751: Implement GetMemoryRegions() for Linux and Mac OSX core files.
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 27 10:38:50 PDT 2016
clayborg added a comment.
This of course would rely on the fact that each Process subclass the overrides GetMemoryRegionInfo() will follow the following rules:
1 - if no memory is mapped for a given address, set an extra "not_mapped" variable in MemoryRegionInfo and provide the next address that is mapped by setting the end address of the current MemoryRegionInfo correctly.
2 - set values correctly for mapped regions with the correct permissions
3 - For the last entry that is past all mapped entries, set the extra "not_mapped" and set the end address as LLDB_INVALID_ADDRESS
More information about the lldb-commits