LLDB mainline
lldb_private::lldb_server::LLDBServerAcceleratorPlugin Class Referenceabstract

#include <LLDBServerAcceleratorPlugin.h>

Public Types

using GDBServer = process_gdb_remote::GDBRemoteCommunicationServerLLGS
using Manager = NativeProcessProtocol::Manager

Public Member Functions

 LLDBServerAcceleratorPlugin (GDBServer &native_gdb_server, MainLoop &native_main_loop)
virtual ~LLDBServerAcceleratorPlugin ()
virtual llvm::StringRef GetPluginName ()=0
virtual std::optional< AcceleratorActionsGetInitializeActions ()=0
virtual llvm::Expected< AcceleratorBreakpointHitResponseBreakpointWasHit (AcceleratorBreakpointHitArgs &args)=0
AcceleratorActions GetNewAcceleratorAction ()
 Create an AcceleratorActions with an identifier unique within this plugin, so identifiers from different actions don't collide.

Protected Attributes

GDBServerm_native_gdb_server
MainLoopm_native_main_loop
std::unique_ptr< Managerm_process_manager_up
std::unique_ptr< GDBServerm_accelerator_gdb_server
int64_t m_accelerator_action_identifier = 0

Detailed Description

Definition at line 27 of file LLDBServerAcceleratorPlugin.h.

Member Typedef Documentation

◆ GDBServer

◆ Manager

Constructor & Destructor Documentation

◆ LLDBServerAcceleratorPlugin()

LLDBServerAcceleratorPlugin::LLDBServerAcceleratorPlugin ( GDBServer & native_gdb_server,
MainLoop & native_main_loop )

Definition at line 15 of file LLDBServerAcceleratorPlugin.cpp.

References m_native_gdb_server, and m_native_main_loop.

◆ ~LLDBServerAcceleratorPlugin()

LLDBServerAcceleratorPlugin::~LLDBServerAcceleratorPlugin ( )
virtualdefault

Member Function Documentation

◆ BreakpointWasHit()

virtual llvm::Expected< AcceleratorBreakpointHitResponse > lldb_private::lldb_server::LLDBServerAcceleratorPlugin::BreakpointWasHit ( AcceleratorBreakpointHitArgs & args)
pure virtual

◆ GetInitializeActions()

virtual std::optional< AcceleratorActions > lldb_private::lldb_server::LLDBServerAcceleratorPlugin::GetInitializeActions ( )
pure virtual

◆ GetNewAcceleratorAction()

AcceleratorActions lldb_private::lldb_server::LLDBServerAcceleratorPlugin::GetNewAcceleratorAction ( )
inline

Create an AcceleratorActions with an identifier unique within this plugin, so identifiers from different actions don't collide.

Definition at line 45 of file LLDBServerAcceleratorPlugin.h.

References GetPluginName(), and m_accelerator_action_identifier.

◆ GetPluginName()

virtual llvm::StringRef lldb_private::lldb_server::LLDBServerAcceleratorPlugin::GetPluginName ( )
pure virtual

Referenced by GetNewAcceleratorAction().

Member Data Documentation

◆ m_accelerator_action_identifier

int64_t lldb_private::lldb_server::LLDBServerAcceleratorPlugin::m_accelerator_action_identifier = 0
protected

Definition at line 55 of file LLDBServerAcceleratorPlugin.h.

Referenced by GetNewAcceleratorAction().

◆ m_accelerator_gdb_server

std::unique_ptr<GDBServer> lldb_private::lldb_server::LLDBServerAcceleratorPlugin::m_accelerator_gdb_server
protected

Definition at line 54 of file LLDBServerAcceleratorPlugin.h.

◆ m_native_gdb_server

GDBServer& lldb_private::lldb_server::LLDBServerAcceleratorPlugin::m_native_gdb_server
protected

Definition at line 51 of file LLDBServerAcceleratorPlugin.h.

Referenced by LLDBServerAcceleratorPlugin().

◆ m_native_main_loop

MainLoop& lldb_private::lldb_server::LLDBServerAcceleratorPlugin::m_native_main_loop
protected

Definition at line 52 of file LLDBServerAcceleratorPlugin.h.

Referenced by LLDBServerAcceleratorPlugin().

◆ m_process_manager_up

std::unique_ptr<Manager> lldb_private::lldb_server::LLDBServerAcceleratorPlugin::m_process_manager_up
protected

Definition at line 53 of file LLDBServerAcceleratorPlugin.h.


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