[all-commits] [llvm/llvm-project] 4a2a94: [lldb] [client] Implement follow-fork-mode

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Sep 2 03:17:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a2a947317bf702178bf1af34dffd0d280d49970
      https://github.com/llvm/llvm-project/commit/4a2a947317bf702178bf1af34dffd0d280d49970
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/lldb-private-enumerations.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/TargetProperties.td
    A lldb/test/Shell/Subprocess/clone-follow-child-softbp.test
    A lldb/test/Shell/Subprocess/clone-follow-child-wp.test
    A lldb/test/Shell/Subprocess/clone-follow-child.test
    A lldb/test/Shell/Subprocess/fork-follow-child-softbp.test
    A lldb/test/Shell/Subprocess/fork-follow-child-wp.test
    A lldb/test/Shell/Subprocess/fork-follow-child.test
    M lldb/test/Shell/Subprocess/fork-follow-parent-softbp.test
    A lldb/test/Shell/Subprocess/vfork-follow-child-softbp.test
    A lldb/test/Shell/Subprocess/vfork-follow-child-wp.test
    A lldb/test/Shell/Subprocess/vfork-follow-child.test

  Log Message:
  -----------
  [lldb] [client] Implement follow-fork-mode

Implement a new target.process.follow-fork-mode setting to control
LLDB's behavior on fork.  If set to 'parent', the forked child is
detached and parent continues being traced.  If set to 'child',
the parent is detached and child becomes traced instead.

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




More information about the All-commits mailing list