HomePhabricator

ProcessLaunchInfo: remove Debugger reference

Description

ProcessLaunchInfo: remove Debugger reference

Summary:
The Debuffer object was being used in "GetListenerForProcess" to provide
a default listener object if one was not specified in the launch_info
object.

Since all the callers of this function immediately passed the result to
Target::CreateProcess, it was easy to move this logic there instead.

This brings us one step closer towards being able to move the LaunchInfo
classes to the Host layer (which is there the launching code that
consumes them lives).

Reviewers: zturner, jingham, teemperor

Subscribers: lldb-commits

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

Details

Committed
labathJan 7 2019, 2:59 AM
Differential Revision
D56174: ProcessLaunchInfo: remove Debugger reference
Branches
Unknown
Tags
Unknown