[all-commits] [llvm/llvm-project] 8c31ef: Add the ability to process save-core stack-memory-...

Jason Molenda via All-commits all-commits at lists.llvm.org
Wed Aug 11 13:39:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c31efeed6007bade1e4ddda2ceccab311661cbc
      https://github.com/llvm/llvm-project/commit/8c31efeed6007bade1e4ddda2ceccab311661cbc
  Author: Jason Molenda <jason at molenda.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M lldb/docs/lldb-gdb-remote.txt
    M lldb/include/lldb/Target/MemoryRegionInfo.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py
    A lldb/test/API/macosx/stack-corefile/Makefile
    A lldb/test/API/macosx/stack-corefile/TestStackCorefile.py
    A lldb/test/API/macosx/stack-corefile/main.c
    M lldb/tools/debugserver/source/DNBDefs.h
    M lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp
    M lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp
    M lldb/tools/debugserver/source/MacOSX/MachVMRegion.h
    M lldb/tools/debugserver/source/RNBRemote.cpp

  Log Message:
  -----------
  Add the ability to process save-core stack-memory-only corefiles

Add a field to the qMemoryRegionInfo packet where the remote stub
can describe the type of memory -- heap, stack.  Keep track of
memory regions that are stack memory in lldb.  Add a new "--style
stack" to process save-core to request that only stack memory be
included in the corefile.

Differential Revision: https://reviews.llvm.org/D107625




More information about the All-commits mailing list