LLDB mainline
|
#include <HostProcessWindows.h>
Public Member Functions | |
HostProcessWindows () | |
HostProcessWindows (lldb::process_t process) | |
~HostProcessWindows () | |
void | SetOwnsHandle (bool owns) |
Status | Terminate () override |
lldb::pid_t | GetProcessId () const override |
bool | IsRunning () const override |
virtual llvm::Expected< HostThread > | StartMonitoring (const Host::MonitorChildProcessCallback &callback) override |
Public Member Functions inherited from lldb_private::HostNativeProcessBase | |
HostNativeProcessBase () | |
HostNativeProcessBase (lldb::process_t process) | |
virtual | ~HostNativeProcessBase ()=default |
virtual Status | Terminate ()=0 |
virtual lldb::pid_t | GetProcessId () const =0 |
virtual bool | IsRunning () const =0 |
lldb::process_t | GetSystemHandle () const |
virtual llvm::Expected< HostThread > | StartMonitoring (const Host::MonitorChildProcessCallback &callback)=0 |
Private Member Functions | |
void | Close () |
Private Attributes | |
bool | m_owns_handle |
Additional Inherited Members | |
Protected Attributes inherited from lldb_private::HostNativeProcessBase | |
lldb::process_t | m_process |
Definition at line 19 of file HostProcessWindows.h.
HostProcessWindows::HostProcessWindows | ( | ) |
Definition at line 30 of file HostProcessWindows.cpp.
|
explicit |
Definition at line 33 of file HostProcessWindows.cpp.
HostProcessWindows::~HostProcessWindows | ( | ) |
Definition at line 36 of file HostProcessWindows.cpp.
References Close().
|
private |
Definition at line 96 of file HostProcessWindows.cpp.
References LLDB_INVALID_PROCESS, m_owns_handle, and lldb_private::HostNativeProcessBase::m_process.
Referenced by ~HostProcessWindows().
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 51 of file HostProcessWindows.cpp.
References GetProcessId(), LLDB_INVALID_PROCESS, and lldb_private::HostNativeProcessBase::m_process.
Referenced by GetProcessId().
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 55 of file HostProcessWindows.cpp.
References lldb_private::HostNativeProcessBase::m_process.
void HostProcessWindows::SetOwnsHandle | ( | bool | owns | ) |
Definition at line 38 of file HostProcessWindows.cpp.
References m_owns_handle.
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 78 of file HostProcessWindows.cpp.
References lldb_private::ThreadLauncher::LaunchThread(), lldb_private::HostNativeProcessBase::m_process, and MonitorThread().
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 40 of file HostProcessWindows.cpp.
References lldb::eErrorTypeWin32, error(), and lldb_private::HostNativeProcessBase::m_process.
|
private |
Definition at line 38 of file HostProcessWindows.h.
Referenced by Close(), and SetOwnsHandle().