HomePhabricator

[lldb] [Process] Watch for fork/vfork notifications

Authored by mgorny on Mar 12 2021, 12:02 AM.

Description

[lldb] [Process] Watch for fork/vfork notifications

Watch for fork(2)/vfork(2) (also fork/vfork-style clone(2) on Linux)
notifications and explicitly detach the forked child process, and add
initial tests for these cases. The code covers FreeBSD, Linux
and NetBSD process plugins. There is no new user-visible functionality
provided -- this change lays foundations over subsequent work on fork
support.

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

Details

Committed
mgornyApr 8 2021, 9:49 AM
Differential Revision
D98822: [lldb] [Process] Watch for fork/vfork notifications
Parents
rGbcb8ef2d5a8b: abtest.py: support bisection based on a response file
Branches
Unknown
Tags
Unknown