LLDB mainline
lldb_private::ScriptInterpreterBridge Class Reference

Unwraps the opaque internal object held by an SB (public API) instance, for scripting-language plugins that need to convert values passed across the script callback boundary back to their lldb_private form. More...

#include <ScriptInterpreterBridge.h>

Static Public Member Functions

static lldb::DataExtractorSP GetDataExtractor (const lldb::SBData &data)
static Status GetStatus (const lldb::SBError &error)
static EventGetEvent (const lldb::SBEvent &event)
static lldb::StreamSP GetStream (const lldb::SBStream &stream)
static lldb::ThreadSP GetThread (const lldb::SBThread &thread)
static lldb::StackFrameSP GetStackFrame (const lldb::SBFrame &frame)
static SymbolContext GetSymbolContext (const lldb::SBSymbolContext &sym_ctx)
static lldb::BreakpointSP GetBreakpoint (const lldb::SBBreakpoint &breakpoint)
static lldb::BreakpointLocationSP GetBreakpointLocation (const lldb::SBBreakpointLocation &break_loc)
static CommandReturnObjectGetCommandReturnObject (const lldb::SBCommandReturnObject &cmd_retobj)
static lldb::DebuggerSP GetDebugger (const lldb::SBDebugger &debugger)
static lldb::ProcessAttachInfoSP GetProcessAttachInfo (const lldb::SBAttachInfo &attach_info)
static lldb::ProcessLaunchInfoSP GetProcessLaunchInfo (const lldb::SBLaunchInfo &launch_info)
static std::optional< MemoryRegionInfoGetMemoryRegionInfo (const lldb::SBMemoryRegionInfo &mem_region)
static lldb::ExecutionContextRefSP GetExecutionContextRef (const lldb::SBExecutionContext &exe_ctx)
static lldb::StackFrameListSP GetStackFrameList (const lldb::SBFrameList &frame_list)
static lldb::ValueObjectSP GetValueObject (const lldb::SBValue &value)
static lldb::TargetSP GetTarget (const lldb::SBTarget &target)

Detailed Description

Unwraps the opaque internal object held by an SB (public API) instance, for scripting-language plugins that need to convert values passed across the script callback boundary back to their lldb_private form.

Every SB class this needs to reach into grants friendship to this class alone, so that access to API internals stays confined to this single bridge rather than spreading across the Interpreter layer.

Definition at line 30 of file ScriptInterpreterBridge.h.

Member Function Documentation

◆ GetBreakpoint()

lldb::BreakpointSP ScriptInterpreterBridge::GetBreakpoint ( const lldb::SBBreakpoint & breakpoint)
static

◆ GetBreakpointLocation()

lldb::BreakpointLocationSP ScriptInterpreterBridge::GetBreakpointLocation ( const lldb::SBBreakpointLocation & break_loc)
static

◆ GetCommandReturnObject()

CommandReturnObject * ScriptInterpreterBridge::GetCommandReturnObject ( const lldb::SBCommandReturnObject & cmd_retobj)
static

◆ GetDataExtractor()

lldb::DataExtractorSP ScriptInterpreterBridge::GetDataExtractor ( const lldb::SBData & data)
static

◆ GetDebugger()

lldb::DebuggerSP ScriptInterpreterBridge::GetDebugger ( const lldb::SBDebugger & debugger)
static

◆ GetEvent()

Event * ScriptInterpreterBridge::GetEvent ( const lldb::SBEvent & event)
static

◆ GetExecutionContextRef()

◆ GetMemoryRegionInfo()

std::optional< lldb_private::MemoryRegionInfo > ScriptInterpreterBridge::GetMemoryRegionInfo ( const lldb::SBMemoryRegionInfo & mem_region)
static

◆ GetProcessAttachInfo()

lldb::ProcessAttachInfoSP ScriptInterpreterBridge::GetProcessAttachInfo ( const lldb::SBAttachInfo & attach_info)
static

◆ GetProcessLaunchInfo()

lldb::ProcessLaunchInfoSP ScriptInterpreterBridge::GetProcessLaunchInfo ( const lldb::SBLaunchInfo & launch_info)
static

◆ GetStackFrame()

lldb::StackFrameSP ScriptInterpreterBridge::GetStackFrame ( const lldb::SBFrame & frame)
static

◆ GetStackFrameList()

lldb::StackFrameListSP ScriptInterpreterBridge::GetStackFrameList ( const lldb::SBFrameList & frame_list)
static

◆ GetStatus()

Status ScriptInterpreterBridge::GetStatus ( const lldb::SBError & error)
static

◆ GetStream()

lldb::StreamSP ScriptInterpreterBridge::GetStream ( const lldb::SBStream & stream)
static

◆ GetSymbolContext()

SymbolContext ScriptInterpreterBridge::GetSymbolContext ( const lldb::SBSymbolContext & sym_ctx)
static

◆ GetTarget()

lldb::TargetSP ScriptInterpreterBridge::GetTarget ( const lldb::SBTarget & target)
static

◆ GetThread()

lldb::ThreadSP ScriptInterpreterBridge::GetThread ( const lldb::SBThread & thread)
static

◆ GetValueObject()


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