[all-commits] [llvm/llvm-project] 63d756: Reland "[lldb] [Process] Watch for fork/vfork noti...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Apr 13 04:20:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63d75641054afb0fe43928e9430a2bb92f09e121
      https://github.com/llvm/llvm-project/commit/63d75641054afb0fe43928e9430a2bb92f09e121
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
    M lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.h
    A lldb/test/Shell/Subprocess/Inputs/fork.cpp
    A lldb/test/Shell/Subprocess/fork-follow-parent-wp.test
    A lldb/test/Shell/Subprocess/fork-follow-parent.test
    A lldb/test/Shell/Subprocess/lit.local.cfg
    A lldb/test/Shell/Subprocess/vfork-follow-parent-wp.test
    A lldb/test/Shell/Subprocess/vfork-follow-parent.test

  Log Message:
  -----------
  Reland "[lldb] [Process] Watch for fork/vfork notifications" for FreeBSD

The original commit was reverted because of the problems it introduced
on Linux.  However, FreeBSD should not be affected, so restore that part
and we will address Linux separately.

While at it, remove the dbreg hack as the underlying issue has been
fixed in the FreeBSD kernel and the problem is unlikely to happen
in real life use anyway.

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




More information about the All-commits mailing list