LLDB mainline
|
#include <HostProcessPosix.h>
Public Member Functions | |
HostProcessPosix () | |
HostProcessPosix (lldb::process_t process) | |
~HostProcessPosix () override | |
virtual Status | Signal (int signo) const |
Status | Terminate () override |
lldb::pid_t | GetProcessId () const override |
bool | IsRunning () const override |
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 |
Static Public Member Functions | |
static Status | Signal (lldb::process_t process, int signo) |
Additional Inherited Members | |
Protected Attributes inherited from lldb_private::HostNativeProcessBase | |
lldb::process_t | m_process |
Definition at line 20 of file HostProcessPosix.h.
HostProcessPosix::HostProcessPosix | ( | ) |
Definition at line 23 of file HostProcessPosix.cpp.
HostProcessPosix::HostProcessPosix | ( | lldb::process_t | process | ) |
Definition at line 26 of file HostProcessPosix.cpp.
|
overridedefault |
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 51 of file HostProcessPosix.cpp.
References lldb_private::HostNativeProcessBase::m_process.
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 53 of file HostProcessPosix.cpp.
References error(), kInvalidPosixProcess, lldb_private::HostNativeProcessBase::m_process, and Signal().
|
virtual |
Definition at line 31 of file HostProcessPosix.cpp.
References lldb_private::Status::FromErrorString(), kInvalidPosixProcess, lldb_private::HostNativeProcessBase::m_process, and Signal().
Referenced by IsRunning(), Signal(), and Terminate().
|
static |
Definition at line 40 of file HostProcessPosix.cpp.
References error(), and lldb_private::Status::FromErrno().
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 62 of file HostProcessPosix.cpp.
References lldb_private::HostNativeProcessBase::m_process, and lldb_private::Host::StartMonitoringChildProcess().
|
overridevirtual |
Implements lldb_private::HostNativeProcessBase.
Definition at line 49 of file HostProcessPosix.cpp.