This is an archive of the discontinued LLVM Phabricator instance.

ProcessLaunchInfo: remove Debugger reference
ClosedPublic

Authored by labath on Dec 31 2018, 6:41 AM.

Details

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).

Event Timeline

labath created this revision.Dec 31 2018, 6:41 AM
clayborg accepted this revision.Jan 2 2019, 1:08 PM
This revision is now accepted and ready to land.Jan 2 2019, 1:08 PM
This revision was automatically updated to reflect the committed changes.