[Lldb-commits] [PATCH] D21751: Implement GetMemoryRegions() for Linux and Mac OSX core files.

Howard Hellyer via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 4 06:31:37 PDT 2016


hhellyer updated this revision to Diff 62675.
hhellyer added a comment.

I’ve added a test in TestLinuxCore.py. It found a bug which the change in RangeMap.h resolves.

It fills in the implementation of Process::GetMemoryRegions() and makes minor changes to support the mapped attribute in MemoryRegionInfo to the Mac and Linux process implementations. I also updated the documentation for Process::GetMemoryRegionInfo.

Windows will require more changes to support the API correctly, I’m currently getting an environment setup where I can work on those.


http://reviews.llvm.org/D21751

Files:
  include/lldb/Core/RangeMap.h
  include/lldb/Target/MemoryRegionInfo.h
  include/lldb/Target/Process.h
  packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
  source/Plugins/Process/Linux/NativeProcessLinux.cpp
  source/Plugins/Process/elf-core/ProcessElfCore.cpp
  source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  source/Plugins/Process/mach-core/ProcessMachCore.cpp
  source/Target/Process.cpp
  tools/lldb-server/lldb-gdbserver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21751.62675.patch
Type: text/x-patch
Size: 18981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160704/94c45f10/attachment.bin>


More information about the lldb-commits mailing list