LLDB mainline
lldb_private::LocalDebugDelegate Class Reference

#include <LocalDebugDelegate.h>

Inheritance diagram for lldb_private::LocalDebugDelegate:
[legend]

Public Member Functions

 LocalDebugDelegate (lldb::ProcessWP process)
void OnExitProcess (uint32_t exit_code) override
void OnDebuggerConnected (lldb::addr_t image_base) override
ExceptionResult OnDebugException (bool first_chance, const ExceptionRecord &record) override
void OnCreateThread (const HostThread &thread) override
void OnExitThread (lldb::tid_t thread_id, uint32_t exit_code) override
DllEventAction OnLoadDll (const lldb_private::ModuleSpec &module_spec, lldb::addr_t module_addr, lldb::tid_t thread_id) override
DllEventAction OnUnloadDll (lldb::addr_t module_addr, lldb::tid_t thread_id) override
void OnDebugString (lldb::addr_t debug_string_addr, bool is_unicode, uint16_t length_lower_word) override
void OnDebuggerError (const Status &error, uint32_t type) override
Public Member Functions inherited from lldb_private::IDebugDelegate
virtual ~IDebugDelegate ()=default
virtual bool HasDeferredStop ()
 Whether the delegate has a stop that it recorded but has not reported to its client yet.
virtual void ReportDeferredStop ()
 Report the stop the delegate holds, if any.

Private Member Functions

ProcessWindowsSP GetProcessPointer ()

Private Attributes

lldb::ProcessWP m_process

Detailed Description

Definition at line 41 of file LocalDebugDelegate.h.

Constructor & Destructor Documentation

◆ LocalDebugDelegate()

LocalDebugDelegate::LocalDebugDelegate ( lldb::ProcessWP process)
explicit

Definition at line 15 of file LocalDebugDelegate.cpp.

References m_process.

Member Function Documentation

◆ GetProcessPointer()

ProcessWindowsSP LocalDebugDelegate::GetProcessPointer ( )
private

◆ OnCreateThread()

void LocalDebugDelegate::OnCreateThread ( const HostThread & thread)
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 37 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

◆ OnDebugException()

ExceptionResult LocalDebugDelegate::OnDebugException ( bool first_chance,
const ExceptionRecord & record )
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 29 of file LocalDebugDelegate.cpp.

References GetProcessPointer(), and MaskException.

◆ OnDebuggerConnected()

void LocalDebugDelegate::OnDebuggerConnected ( lldb::addr_t image_base)
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 23 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

◆ OnDebuggerError()

void LocalDebugDelegate::OnDebuggerError ( const Status & error,
uint32_t type )
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 70 of file LocalDebugDelegate.cpp.

References error(), and GetProcessPointer().

◆ OnDebugString()

void LocalDebugDelegate::OnDebugString ( lldb::addr_t debug_string_addr,
bool is_unicode,
uint16_t length_lower_word )
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 63 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

◆ OnExitProcess()

void LocalDebugDelegate::OnExitProcess ( uint32_t exit_code)
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 18 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

◆ OnExitThread()

void LocalDebugDelegate::OnExitThread ( lldb::tid_t thread_id,
uint32_t exit_code )
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 42 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

◆ OnLoadDll()

DllEventAction LocalDebugDelegate::OnLoadDll ( const lldb_private::ModuleSpec & module_spec,
lldb::addr_t module_addr,
lldb::tid_t thread_id )
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 49 of file LocalDebugDelegate.cpp.

References ContinueDebugLoop, and GetProcessPointer().

◆ OnUnloadDll()

DllEventAction LocalDebugDelegate::OnUnloadDll ( lldb::addr_t module_addr,
lldb::tid_t thread_id )
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 56 of file LocalDebugDelegate.cpp.

References ContinueDebugLoop, and GetProcessPointer().

Member Data Documentation

◆ m_process

lldb::ProcessWP lldb_private::LocalDebugDelegate::m_process
private

Definition at line 63 of file LocalDebugDelegate.h.

Referenced by GetProcessPointer(), and LocalDebugDelegate().


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