LLDB mainline
lldb_private::ScriptedBreakpointInterface Class Referenceabstract

#include <ScriptedBreakpointInterface.h>

Inheritance diagram for lldb_private::ScriptedBreakpointInterface:
[legend]

Public Member Functions

virtual llvm::Expected< StructuredData::GenericSPCreatePluginObject (llvm::StringRef class_name, lldb::BreakpointSP break_sp, const StructuredDataImpl &args_sp)=0
virtual bool ResolverCallback (SymbolContext sym_ctx)
 "ResolverCallback" will get called when a new module is loaded.
virtual lldb::SearchDepth GetDepth ()
virtual std::optional< std::string > GetShortHelp ()
Public Member Functions inherited from lldb_private::ScriptedInterface
 ScriptedInterface ()=default
virtual ~ScriptedInterface ()=default
StructuredData::GenericSP GetScriptObjectInstance ()
virtual llvm::SmallVector< AbstractMethodRequirementGetAbstractMethodRequirements () const =0
llvm::SmallVector< llvm::StringLiteral > const GetAbstractMethods () const

Additional Inherited Members

Static Public Member Functions inherited from lldb_private::ScriptedInterface
template<typename Ret>
static Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, LLDBLog log_category=LLDBLog::Process)
template<typename T = StructuredData::ObjectSP>
static bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
static bool CreateInstance (lldb::ScriptLanguage language, ScriptedInterfaceUsages usages)
Protected Attributes inherited from lldb_private::ScriptedInterface
StructuredData::GenericSP m_object_instance_sp

Detailed Description

Definition at line 17 of file ScriptedBreakpointInterface.h.

Member Function Documentation

◆ CreatePluginObject()

virtual llvm::Expected< StructuredData::GenericSP > lldb_private::ScriptedBreakpointInterface::CreatePluginObject ( llvm::StringRef class_name,
lldb::BreakpointSP break_sp,
const StructuredDataImpl & args_sp )
pure virtual

◆ GetDepth()

virtual lldb::SearchDepth lldb_private::ScriptedBreakpointInterface::GetDepth ( )
inlinevirtual

Definition at line 27 of file ScriptedBreakpointInterface.h.

References lldb::eSearchDepthModule.

◆ GetShortHelp()

virtual std::optional< std::string > lldb_private::ScriptedBreakpointInterface::GetShortHelp ( )
inlinevirtual

Definition at line 28 of file ScriptedBreakpointInterface.h.

◆ ResolverCallback()

virtual bool lldb_private::ScriptedBreakpointInterface::ResolverCallback ( SymbolContext sym_ctx)
inlinevirtual

"ResolverCallback" will get called when a new module is loaded.

The new module information is passed in sym_ctx. The Resolver will add any breakpoint locations it found in that module.

Definition at line 26 of file ScriptedBreakpointInterface.h.


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