|
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 271 of file NativeProcessProtocol.h.
|
inline |
Definition at line 273 of file NativeProcessProtocol.h.
References m_mainloop.
Referenced by Manager(), and operator=().
|
delete |
References Manager().
|
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::NativeProcessWindows::Manager, lldb_private::process_aix::NativeProcessAIX::Manager, lldb_private::process_freebsd::NativeProcessFreeBSD::Manager, lldb_private::process_linux::NativeProcessLinux::Manager, and lldb_private::process_netbsd::NativeProcessNetBSD::Manager.
|
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 326 of file NativeProcessProtocol.h.
|
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::NativeProcessWindows::Manager, lldb_private::process_aix::NativeProcessAIX::Manager, lldb_private::process_freebsd::NativeProcessFreeBSD::Manager, lldb_private::process_linux::NativeProcessLinux::Manager, and lldb_private::process_netbsd::NativeProcessNetBSD::Manager.
References Manager().
|
protected |
Definition at line 329 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::Manager::Attach(), lldb_private::process_netbsd::NativeProcessNetBSD::Manager::Attach(), lldb_private::process_freebsd::NativeProcessFreeBSD::Manager::Launch(), lldb_private::process_netbsd::NativeProcessNetBSD::Manager::Launch(), and Manager().