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

#include <LocalDebugDelegate.h>

Inheritance diagram for lldb_private::LocalDebugDelegate:
Inheritance graph
[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
 
void OnLoadDll (const lldb_private::ModuleSpec &module_spec, lldb::addr_t module_addr) override
 
void OnUnloadDll (lldb::addr_t module_addr) override
 
void OnDebugString (const std::string &message) override
 
void OnDebuggerError (const Status &error, uint32_t type) override
 
- Public Member Functions inherited from lldb_private::IDebugDelegate
virtual ~IDebugDelegate ()
 
virtual void OnExitProcess (uint32_t exit_code)=0
 
virtual void OnDebuggerConnected (lldb::addr_t image_base)=0
 
virtual ExceptionResult OnDebugException (bool first_chance, const ExceptionRecord &record)=0
 
virtual void OnCreateThread (const HostThread &thread)=0
 
virtual void OnExitThread (lldb::tid_t thread_id, uint32_t exit_code)=0
 
virtual void OnLoadDll (const ModuleSpec &module_spec, lldb::addr_t module_addr)=0
 
virtual void OnUnloadDll (lldb::addr_t module_addr)=0
 
virtual void OnDebugString (const std::string &string)=0
 
virtual void OnDebuggerError (const Status &error, uint32_t type)=0
 

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.

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().

◆ 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 64 of file LocalDebugDelegate.cpp.

References error(), and GetProcessPointer().

◆ OnDebugString()

void LocalDebugDelegate::OnDebugString ( const std::string &  message)
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 59 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()

void LocalDebugDelegate::OnLoadDll ( const lldb_private::ModuleSpec module_spec,
lldb::addr_t  module_addr 
)
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 48 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

◆ OnUnloadDll()

void LocalDebugDelegate::OnUnloadDll ( lldb::addr_t  module_addr)
overridevirtual

Implements lldb_private::IDebugDelegate.

Definition at line 54 of file LocalDebugDelegate.cpp.

References GetProcessPointer().

Member Data Documentation

◆ m_process

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

Definition at line 60 of file LocalDebugDelegate.h.

Referenced by GetProcessPointer().


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