[Lldb-commits] [PATCH] D56174: ProcessLaunchInfo: remove Debugger reference

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 31 06:42:44 PST 2018


labath created this revision.
labath added reviewers: zturner, jingham, teemperor.

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


https://reviews.llvm.org/D56174

Files:
  include/lldb/Target/ProcessLaunchInfo.h
  include/lldb/Target/Target.h
  source/Plugins/Platform/Linux/PlatformLinux.cpp
  source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
  source/Plugins/Platform/Windows/PlatformWindows.cpp
  source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  source/Target/ProcessLaunchInfo.cpp
  source/Target/Target.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56174.179759.patch
Type: text/x-patch
Size: 5790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181231/d6836829/attachment.bin>


More information about the lldb-commits mailing list