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

#include <NativeProcessWindows.h>

Inheritance diagram for lldb_private::NativeProcessWindows::Factory:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::NativeProcessWindows::Factory:
Collaboration graph
[legend]

Public Member Functions

llvm::Expected< std::unique_ptr< NativeProcessProtocol > > Launch (ProcessLaunchInfo &launch_info, NativeDelegate &native_delegate, MainLoop &mainloop) const override
 Launch a process for debugging. More...
 
llvm::Expected< std::unique_ptr< NativeProcessProtocol > > Attach (lldb::pid_t pid, NativeDelegate &native_delegate, MainLoop &mainloop) const override
 Attach to an existing process. More...
 
- Public Member Functions inherited from lldb_private::NativeProcessProtocol::Factory
virtual ~Factory ()
 
virtual Extension GetSupportedExtensions () const
 Get the bitmask of extensions supported by this process plugin. More...
 

Detailed Description

Definition at line 34 of file NativeProcessWindows.h.

Member Function Documentation

◆ Attach()

llvm::Expected< std::unique_ptr< NativeProcessProtocol > > lldb_private::NativeProcessWindows::Factory::Attach ( lldb::pid_t  pid,
NativeDelegate native_delegate,
MainLoop mainloop 
) const
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::Factory.

Definition at line 620 of file NativeProcessWindows.cpp.

References lldb_private::NativeProcessWindows::NativeProcessWindows().

◆ Launch()

llvm::Expected< std::unique_ptr< NativeProcessProtocol > > lldb_private::NativeProcessWindows::Factory::Launch ( ProcessLaunchInfo launch_info,
NativeDelegate native_delegate,
MainLoop mainloop 
) const
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::Factory.

Definition at line 607 of file NativeProcessWindows.cpp.

References lldb_private::NativeProcessWindows::NativeProcessWindows().


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