LLDB mainline
|
#include <HostProcess.h>
Public Member Functions | |
HostProcess () | |
HostProcess (lldb::process_t process) | |
~HostProcess () | |
Status | Terminate () |
lldb::pid_t | GetProcessId () const |
bool | IsRunning () const |
llvm::Expected< HostThread > | StartMonitoring (const Host::MonitorChildProcessCallback &callback) |
HostNativeProcessBase & | GetNativeProcess () |
const HostNativeProcessBase & | GetNativeProcess () const |
Private Attributes | |
std::shared_ptr< HostNativeProcessBase > | m_native_process |
Definition at line 33 of file HostProcess.h.
HostProcess::HostProcess | ( | ) |
Definition at line 16 of file HostProcess.cpp.
HostProcess::HostProcess | ( | lldb::process_t | process | ) |
Definition at line 18 of file HostProcess.cpp.
|
default |
HostNativeProcessBase & HostProcess::GetNativeProcess | ( | ) |
Definition at line 36 of file HostProcess.cpp.
References m_native_process.
Referenced by lldb_private::ProcessDebugger::AllocateMemory(), lldb_private::ProcessDebugger::DeallocateMemory(), lldb_private::ProcessDebugger::GetMemoryRegionInfo(), lldb_private::DebuggerThread::HandleCreateProcessEvent(), lldb_private::ProcessDebugger::ReadMemory(), lldb_private::DebuggerThread::StopDebugging(), and lldb_private::ProcessDebugger::WriteMemory().
const HostNativeProcessBase & HostProcess::GetNativeProcess | ( | ) | const |
Definition at line 40 of file HostProcess.cpp.
References m_native_process.
lldb::pid_t HostProcess::GetProcessId | ( | ) | const |
Definition at line 25 of file HostProcess.cpp.
References m_native_process.
Referenced by lldb_private::DebuggerThread::ContinueAsyncException(), lldb_private::DebuggerThread::HandleCreateThreadEvent(), lldb_private::DebuggerThread::HandleExitProcessEvent(), lldb_private::DebuggerThread::HandleExitThreadEvent(), lldb_private::DebuggerThread::HandleLoadDllEvent(), lldb_private::DebuggerThread::HandleRipEvent(), lldb_private::DebuggerThread::HandleUnloadDllEvent(), lldb_private::process_freebsd::NativeProcessFreeBSD::Manager::Launch(), lldb_private::process_linux::NativeProcessLinux::Manager::Launch(), lldb_private::process_netbsd::NativeProcessNetBSD::Manager::Launch(), lldb_private::MonitoringProcessLauncher::LaunchProcess(), lldb_private::Host::LaunchProcess(), lldb_private::ProcessDebugger::LaunchProcess(), and lldb_private::DebuggerThread::StopDebugging().
bool HostProcess::IsRunning | ( | ) | const |
Definition at line 29 of file HostProcess.cpp.
References m_native_process.
llvm::Expected< HostThread > HostProcess::StartMonitoring | ( | const Host::MonitorChildProcessCallback & | callback | ) |
Definition at line 31 of file HostProcess.cpp.
References m_native_process.
Referenced by lldb_private::MonitoringProcessLauncher::LaunchProcess().
Status HostProcess::Terminate | ( | ) |
Definition at line 23 of file HostProcess.cpp.
References m_native_process.
|
private |
Definition at line 51 of file HostProcess.h.
Referenced by GetNativeProcess(), GetProcessId(), IsRunning(), StartMonitoring(), and Terminate().