HomePhabricator

Remove Process references from the Host module

Description

Remove Process references from the Host module

The Process class was only being referenced because of the last-ditch
effort in the process launchers to set a process death callback in case
one isn't set already.

Although launching a process for debugging is the most important kind of
"launch" we are doing, it is by far not the only one, so assuming this
particular callback is the one to be used is not a good idea (besides
breaking layering). Instead of assuming a particular exit callback, I
change the launcher code to require the callback to be set by the user (and fix
up the two call sites which did not set the callback already).

Reviewers: jingham, davide

Subscribers: lldb-commits

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

Details

Committed
labathMay 14 2018, 8:13 AM
Differential Revision
D46395: Remove Process references from the Host module
Parents
rL332249: [llvm-mca] Improved support for dependency-breaking instructions.
Branches
Unknown
Tags
Unknown