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
Collaboration diagram for lldb_private::HostProcessPosix:
Collaboration graph

Public Member Functions

 HostProcessPosix ()
 HostProcessPosix (lldb::process_t process)
 ~HostProcessPosix () override
virtual Status Signal (int signo) const
Status Terminate () override
Status GetMainModule (FileSpec &file_spec) const override
lldb::pid_t GetProcessId () const override
bool IsRunning () const override
llvm::Expected< HostThreadStartMonitoring (const Host::MonitorChildProcessCallback &callback, bool monitor_signals) override
- Public Member Functions inherited from lldb_private::HostNativeProcessBase
 HostNativeProcessBase ()
 HostNativeProcessBase (lldb::process_t process)
virtual ~HostNativeProcessBase ()=default
lldb::process_t GetSystemHandle () const

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 25 of file HostProcessPosix.cpp.

◆ HostProcessPosix() [2/2]

HostProcessPosix::HostProcessPosix ( lldb::process_t  process)

Definition at line 28 of file HostProcessPosix.cpp.

◆ ~HostProcessPosix()

HostProcessPosix::~HostProcessPosix ( )

Member Function Documentation

◆ GetMainModule()

Status HostProcessPosix::GetMainModule ( FileSpec file_spec) const

◆ GetProcessId()

lldb::pid_t HostProcessPosix::GetProcessId ( ) const

◆ IsRunning()

bool HostProcessPosix::IsRunning ( ) const

◆ Signal() [1/2]

Status HostProcessPosix::Signal ( int  signo) const

Definition at line 33 of file HostProcessPosix.cpp.

References error(), and lldb_private::HostNativeProcessBase::m_process.

Referenced by IsRunning(), and Terminate().

◆ Signal() [2/2]

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

Definition at line 43 of file HostProcessPosix.cpp.

References error().

◆ StartMonitoring()

llvm::Expected< HostThread > HostProcessPosix::StartMonitoring ( const Host::MonitorChildProcessCallback callback,
bool  monitor_signals 

◆ Terminate()

Status HostProcessPosix::Terminate ( )

Implements lldb_private::HostNativeProcessBase.

Definition at line 52 of file HostProcessPosix.cpp.

References SIGKILL, and Signal().

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