LLDB mainline
Public Member Functions | Static Public Member Functions | List of all members
lldb_private::HostProcessPosix Class Reference

#include <HostProcessPosix.h>

Inheritance diagram for lldb_private::HostProcessPosix:
Inheritance graph
[legend]

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< HostThreadStartMonitoring (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< HostThreadStartMonitoring (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
 

Detailed Description

Definition at line 20 of file HostProcessPosix.h.

Constructor & Destructor Documentation

◆ HostProcessPosix() [1/2]

HostProcessPosix::HostProcessPosix ( )

Definition at line 23 of file HostProcessPosix.cpp.

◆ HostProcessPosix() [2/2]

HostProcessPosix::HostProcessPosix ( lldb::process_t  process)

Definition at line 26 of file HostProcessPosix.cpp.

◆ ~HostProcessPosix()

HostProcessPosix::~HostProcessPosix ( )
overridedefault

Member Function Documentation

◆ GetProcessId()

lldb::pid_t HostProcessPosix::GetProcessId ( ) const
overridevirtual

◆ IsRunning()

bool HostProcessPosix::IsRunning ( ) const
overridevirtual

◆ Signal() [1/2]

Status HostProcessPosix::Signal ( int  signo) const
virtual

◆ Signal() [2/2]

Status HostProcessPosix::Signal ( lldb::process_t  process,
int  signo 
)
static

Definition at line 41 of file HostProcessPosix.cpp.

References error().

◆ StartMonitoring()

llvm::Expected< HostThread > HostProcessPosix::StartMonitoring ( const Host::MonitorChildProcessCallback callback)
overridevirtual

◆ Terminate()

Status HostProcessPosix::Terminate ( )
overridevirtual

Implements lldb_private::HostNativeProcessBase.

Definition at line 50 of file HostProcessPosix.cpp.

References SIGKILL, and Signal().


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