LLDB mainline
|
#include <NativeProcessProtocol.h>
Public Member Functions | |
Manager (MainLoop &mainloop) | |
Manager (const Manager &)=delete | |
Manager & | operator= (const Manager &)=delete |
virtual | ~Manager () |
virtual llvm::Expected< std::unique_ptr< NativeProcessProtocol > > | Launch (ProcessLaunchInfo &launch_info, NativeDelegate &native_delegate)=0 |
Launch a process for debugging. | |
virtual llvm::Expected< std::unique_ptr< NativeProcessProtocol > > | Attach (lldb::pid_t pid, NativeDelegate &native_delegate)=0 |
Attach to an existing process. | |
virtual Extension | GetSupportedExtensions () const |
Get the bitmask of extensions supported by this process plugin. | |
Protected Attributes | |
MainLoop & | m_mainloop |
Definition at line 275 of file NativeProcessProtocol.h.
|
inline |
Definition at line 277 of file NativeProcessProtocol.h.
|
delete |
|
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::Manager, lldb_private::process_linux::NativeProcessLinux::Manager, lldb_private::process_netbsd::NativeProcessNetBSD::Manager, and lldb_private::NativeProcessWindows::Manager.
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::Manager, lldb_private::process_linux::NativeProcessLinux::Manager, and lldb_private::process_netbsd::NativeProcessNetBSD::Manager.
Definition at line 330 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::Manager, lldb_private::process_linux::NativeProcessLinux::Manager, lldb_private::process_netbsd::NativeProcessNetBSD::Manager, and lldb_private::NativeProcessWindows::Manager.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::LaunchProcess().
|
protected |
Definition at line 333 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::Manager::Launch(), and lldb_private::process_netbsd::NativeProcessNetBSD::Manager::Launch().