LLDB mainline
Public Member Functions | List of all members
lldb_private::NativeProcessWindows::Manager Class Reference

#include <NativeProcessWindows.h>

Inheritance diagram for lldb_private::NativeProcessWindows::Manager:
Inheritance graph
[legend]

Public Member Functions

llvm::Expected< std::unique_ptr< NativeProcessProtocol > > Launch (ProcessLaunchInfo &launch_info, NativeDelegate &native_delegate) override
 Launch a process for debugging.
 
llvm::Expected< std::unique_ptr< NativeProcessProtocol > > Attach (lldb::pid_t pid, NativeDelegate &native_delegate) override
 Attach to an existing process.
 
- Public Member Functions inherited from lldb_private::NativeProcessProtocol::Manager
 Manager (MainLoop &mainloop)
 
 Manager (const Manager &)=delete
 
Manageroperator= (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.
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::NativeProcessProtocol::Manager
MainLoopm_mainloop
 

Detailed Description

Definition at line 34 of file NativeProcessWindows.h.

Member Function Documentation

◆ Attach()

llvm::Expected< std::unique_ptr< NativeProcessProtocol > > lldb_private::NativeProcessWindows::Manager::Attach ( lldb::pid_t  pid,
NativeDelegate native_delegate 
)
overridevirtual

Attach to an existing process.

Parameters
[in]pidpid of the process locatable
[in]native_delegateThe delegate that will receive messages regarding the inferior. Must outlive the NativeProcessProtocol instance.
[in]mainloopThe mainloop instance with which the process can register callbacks. Must outlive the NativeProcessProtocol instance.
Returns
A NativeProcessProtocol shared pointer if the operation succeeded or an error object if it failed.

Implements lldb_private::NativeProcessProtocol::Manager.

Definition at line 618 of file NativeProcessWindows.cpp.

◆ Launch()

llvm::Expected< std::unique_ptr< NativeProcessProtocol > > lldb_private::NativeProcessWindows::Manager::Launch ( ProcessLaunchInfo launch_info,
NativeDelegate native_delegate 
)
overridevirtual

Launch a process for debugging.

Parameters
[in]launch_infoInformation required to launch the process.
[in]native_delegateThe delegate that will receive messages regarding the inferior. Must outlive the NativeProcessProtocol instance.
[in]mainloopThe mainloop instance with which the process can register callbacks. Must outlive the NativeProcessProtocol instance.
Returns
A NativeProcessProtocol shared pointer if the operation succeeded or an error object if it failed.

Implements lldb_private::NativeProcessProtocol::Manager.

Definition at line 606 of file NativeProcessWindows.cpp.


The documentation for this class was generated from the following files: