|
LLDB mainline
|
This class manages the lifetime of a PROC_THREAD_ATTRIBUTE_LIST, which is used with STARTUPINFOEX. More...
#include <ProcessLauncherWindows.h>
Public Member Functions | |
| llvm::Error | SetupPseudoConsole (HPCON hPC) |
| Setup the PseudoConsole handle in the underlying LPPROC_THREAD_ATTRIBUTE_LIST. | |
| ~ProcThreadAttributeList () | |
| ProcThreadAttributeList (ProcThreadAttributeList &&other) noexcept | |
| ProcThreadAttributeList (const ProcThreadAttributeList &)=delete | |
| ProcThreadAttributeList is not copyable. | |
| ProcThreadAttributeList & | operator= (const ProcThreadAttributeList &)=delete |
Static Public Member Functions | |
| static llvm::ErrorOr< ProcThreadAttributeList > | Create (STARTUPINFOEXW &startupinfoex) |
| Allocate memory for the attribute list, initialize it, and sets the lpAttributeList member of STARTUPINFOEXW structure. | |
Private Member Functions | |
| ProcThreadAttributeList (LPPROC_THREAD_ATTRIBUTE_LIST list) | |
Private Attributes | |
| LPPROC_THREAD_ATTRIBUTE_LIST | lpAttributeList |
This class manages the lifetime of a PROC_THREAD_ATTRIBUTE_LIST, which is used with STARTUPINFOEX.
The attribute list is automatically cleaned up when this object is destroyed.
Definition at line 31 of file ProcessLauncherWindows.h.
|
inline |
Definition at line 54 of file ProcessLauncherWindows.h.
References lpAttributeList.
|
delete |
ProcThreadAttributeList is not copyable.
References ProcThreadAttributeList().
Referenced by Create(), operator=(), ProcThreadAttributeList(), and ProcThreadAttributeList().
|
inlinenoexcept |
Definition at line 67 of file ProcessLauncherWindows.h.
References ProcThreadAttributeList().
|
inlineexplicitprivate |
Definition at line 73 of file ProcessLauncherWindows.h.
References lpAttributeList.
|
static |
Allocate memory for the attribute list, initialize it, and sets the lpAttributeList member of STARTUPINFOEXW structure.
| [in,out] | startupinfoex | The STARTUPINFOEXW structure whose lpAttributeList member will be set to point to the attribute list. The caller must ensure this structure remains valid for the lifetime of the returned object. |
Definition at line 93 of file ProcessLauncherWindows.cpp.
References ProcThreadAttributeList().
Referenced by lldb_private::PseudoConsole::DrainInitSequences(), and lldb_private::ProcessLauncherWindows::LaunchProcess().
|
delete |
References ProcThreadAttributeList().
| llvm::Error ProcThreadAttributeList::SetupPseudoConsole | ( | HPCON | hPC | ) |
Setup the PseudoConsole handle in the underlying LPPROC_THREAD_ATTRIBUTE_LIST.
| hPC | The handle to the PseudoConsole. |
Definition at line 115 of file ProcessLauncherWindows.cpp.
References lpAttributeList, and PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE.
Referenced by lldb_private::PseudoConsole::DrainInitSequences(), and lldb_private::ProcessLauncherWindows::LaunchProcess().
|
private |
Definition at line 76 of file ProcessLauncherWindows.h.
Referenced by ProcThreadAttributeList(), SetupPseudoConsole(), and ~ProcThreadAttributeList().