This is an archive of the discontinued LLVM Phabricator instance.

[lldb/host] Remove monitor_signals argument from process monitoring functions
ClosedPublic

Authored by labath on Feb 23 2022, 11:36 AM.

Details

Summary

All current callers set the argument to false. monitor_signals=true used
to be used in the Process plugins (which needed to know when the
debugged process gets a signal), but this implementation has several
serious issues, which means that individual process plugins now
orchestrate the monitoring of debugged processes themselves.

This allows us to simplify the implementation (no need to play with
process groups), and the interface (we only catch fatal events, so the
callback is always called just once).

Diff Detail