LLDB mainline
|
#include <NativeProcessProtocol.h>
Public Member Functions | |
virtual | ~Factory () |
virtual llvm::Expected< std::unique_ptr< NativeProcessProtocol > > | Launch (ProcessLaunchInfo &launch_info, NativeDelegate &native_delegate, MainLoop &mainloop) const =0 |
Launch a process for debugging. | |
virtual llvm::Expected< std::unique_ptr< NativeProcessProtocol > > | Attach (lldb::pid_t pid, NativeDelegate &native_delegate, MainLoop &mainloop) const =0 |
Attach to an existing process. | |
virtual Extension | GetSupportedExtensions () const |
Get the bitmask of extensions supported by this process plugin. | |
Definition at line 275 of file NativeProcessProtocol.h.
|
virtualdefault |
|
pure virtual |
Attach to an existing process.
[in] | pid | pid of the process locatable |
[in] | native_delegate | The delegate that will receive messages regarding the inferior. Must outlive the NativeProcessProtocol instance. |
[in] | mainloop | The mainloop instance with which the process can register callbacks. Must outlive the NativeProcessProtocol instance. |
Implemented in lldb_private::process_freebsd::NativeProcessFreeBSD::Factory, lldb_private::process_linux::NativeProcessLinux::Factory, lldb_private::process_netbsd::NativeProcessNetBSD::Factory, and lldb_private::NativeProcessWindows::Factory.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AttachToProcess().
|
inlinevirtual |
Get the bitmask of extensions supported by this process plugin.
Reimplemented in lldb_private::process_freebsd::NativeProcessFreeBSD::Factory, lldb_private::process_linux::NativeProcessLinux::Factory, and lldb_private::process_netbsd::NativeProcessNetBSD::Factory.
Definition at line 326 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::HandleFeatures(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SetEnabledExtensions().
|
pure virtual |
Launch a process for debugging.
[in] | launch_info | Information required to launch the process. |
[in] | native_delegate | The delegate that will receive messages regarding the inferior. Must outlive the NativeProcessProtocol instance. |
[in] | mainloop | The mainloop instance with which the process can register callbacks. Must outlive the NativeProcessProtocol instance. |
Implemented in lldb_private::process_freebsd::NativeProcessFreeBSD::Factory, lldb_private::process_linux::NativeProcessLinux::Factory, lldb_private::process_netbsd::NativeProcessNetBSD::Factory, and lldb_private::NativeProcessWindows::Factory.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::LaunchProcess().