LLDB  mainline
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
lldb_private::HostProcessWindows Class Reference

#include <HostProcessWindows.h>

Inheritance diagram for lldb_private::HostProcessWindows:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::HostProcessWindows:
Collaboration graph
[legend]

Public Member Functions

 HostProcessWindows ()
 
 HostProcessWindows (lldb::process_t process)
 
 ~HostProcessWindows ()
 
void SetOwnsHandle (bool owns)
 
Status Terminate () override
 
Status GetMainModule (FileSpec &file_spec) const override
 
lldb::pid_t GetProcessId () const override
 
bool IsRunning () const override
 
virtual 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
 

Private Member Functions

void Close ()
 

Static Private Member Functions

static lldb::thread_result_t MonitorThread (void *thread_arg)
 

Private Attributes

bool m_owns_handle
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::HostNativeProcessBase
lldb::process_t m_process
 

Detailed Description

Definition at line 19 of file HostProcessWindows.h.

Constructor & Destructor Documentation

◆ HostProcessWindows() [1/2]

HostProcessWindows::HostProcessWindows ( )

Definition at line 30 of file HostProcessWindows.cpp.

◆ HostProcessWindows() [2/2]

HostProcessWindows::HostProcessWindows ( lldb::process_t  process)
explicit

Definition at line 33 of file HostProcessWindows.cpp.

◆ ~HostProcessWindows()

HostProcessWindows::~HostProcessWindows ( )

Definition at line 36 of file HostProcessWindows.cpp.

References Close().

Member Function Documentation

◆ Close()

void HostProcessWindows::Close ( )
private

◆ GetMainModule()

Status HostProcessWindows::GetMainModule ( FileSpec file_spec) const
overridevirtual

◆ GetProcessId()

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

◆ IsRunning()

bool HostProcessWindows::IsRunning ( ) const
overridevirtual

◆ MonitorThread()

lldb::thread_result_t HostProcessWindows::MonitorThread ( void *  thread_arg)
staticprivate

Definition at line 102 of file HostProcessWindows.cpp.

References GetProcessId().

Referenced by StartMonitoring().

◆ SetOwnsHandle()

void HostProcessWindows::SetOwnsHandle ( bool  owns)

Definition at line 38 of file HostProcessWindows.cpp.

References m_owns_handle.

◆ StartMonitoring()

llvm::Expected< HostThread > HostProcessWindows::StartMonitoring ( const Host::MonitorChildProcessCallback callback,
bool  monitor_signals 
)
overridevirtual

◆ Terminate()

Status HostProcessWindows::Terminate ( )
overridevirtual

Member Data Documentation

◆ m_owns_handle

bool lldb_private::HostProcessWindows::m_owns_handle
private

Definition at line 42 of file HostProcessWindows.h.

Referenced by Close(), and SetOwnsHandle().


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