LLDB mainline
Static Public Member Functions | List of all members
lldb_private::PluginManager Class Reference

#include <PluginManager.h>

Static Public Member Functions

static void Initialize ()
 
static void Terminate ()
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
 
static bool UnregisterPlugin (ABICreateInstance create_callback)
 
static ABICreateInstance GetABICreateCallbackAtIndex (uint32_t idx)
 
static void RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ArchitectureCreateInstance create_callback)
 
static void UnregisterPlugin (ArchitectureCreateInstance create_callback)
 
static std::unique_ptr< ArchitectureCreateArchitectureInstance (const ArchSpec &arch)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, DisassemblerCreateInstance create_callback)
 
static bool UnregisterPlugin (DisassemblerCreateInstance create_callback)
 
static DisassemblerCreateInstance GetDisassemblerCreateCallbackAtIndex (uint32_t idx)
 
static DisassemblerCreateInstance GetDisassemblerCreateCallbackForPluginName (llvm::StringRef name)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, DynamicLoaderCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (DynamicLoaderCreateInstance create_callback)
 
static DynamicLoaderCreateInstance GetDynamicLoaderCreateCallbackAtIndex (uint32_t idx)
 
static DynamicLoaderCreateInstance GetDynamicLoaderCreateCallbackForPluginName (llvm::StringRef name)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, JITLoaderCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (JITLoaderCreateInstance create_callback)
 
static JITLoaderCreateInstance GetJITLoaderCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, EmulateInstructionCreateInstance create_callback)
 
static bool UnregisterPlugin (EmulateInstructionCreateInstance create_callback)
 
static EmulateInstructionCreateInstance GetEmulateInstructionCreateCallbackAtIndex (uint32_t idx)
 
static EmulateInstructionCreateInstance GetEmulateInstructionCreateCallbackForPluginName (llvm::StringRef name)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, OperatingSystemCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback)
 
static bool UnregisterPlugin (OperatingSystemCreateInstance create_callback)
 
static OperatingSystemCreateInstance GetOperatingSystemCreateCallbackAtIndex (uint32_t idx)
 
static OperatingSystemCreateInstance GetOperatingSystemCreateCallbackForPluginName (llvm::StringRef name)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, LanguageCreateInstance create_callback)
 
static bool UnregisterPlugin (LanguageCreateInstance create_callback)
 
static LanguageCreateInstance GetLanguageCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, LanguageRuntimeCreateInstance create_callback, LanguageRuntimeGetCommandObject command_callback=nullptr, LanguageRuntimeGetExceptionPrecondition precondition_callback=nullptr)
 
static bool UnregisterPlugin (LanguageRuntimeCreateInstance create_callback)
 
static LanguageRuntimeCreateInstance GetLanguageRuntimeCreateCallbackAtIndex (uint32_t idx)
 
static LanguageRuntimeGetCommandObject GetLanguageRuntimeGetCommandObjectAtIndex (uint32_t idx)
 
static LanguageRuntimeGetExceptionPrecondition GetLanguageRuntimeGetExceptionPreconditionAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, SystemRuntimeCreateInstance create_callback)
 
static bool UnregisterPlugin (SystemRuntimeCreateInstance create_callback)
 
static SystemRuntimeCreateInstance GetSystemRuntimeCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ObjectFileCreateInstance create_callback, ObjectFileCreateMemoryInstance create_memory_callback, ObjectFileGetModuleSpecifications get_module_specifications, ObjectFileSaveCore save_core=nullptr, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (ObjectFileCreateInstance create_callback)
 
static bool IsRegisteredObjectFilePluginName (llvm::StringRef name)
 
static ObjectFileCreateInstance GetObjectFileCreateCallbackAtIndex (uint32_t idx)
 
static ObjectFileCreateMemoryInstance GetObjectFileCreateMemoryCallbackAtIndex (uint32_t idx)
 
static ObjectFileGetModuleSpecifications GetObjectFileGetModuleSpecificationsCallbackAtIndex (uint32_t idx)
 
static ObjectFileCreateMemoryInstance GetObjectFileCreateMemoryCallbackForPluginName (llvm::StringRef name)
 
static Status SaveCore (const lldb::ProcessSP &process_sp, lldb_private::SaveCoreOptions &core_options)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ObjectContainerCreateInstance create_callback, ObjectFileGetModuleSpecifications get_module_specifications, ObjectContainerCreateMemoryInstance create_memory_callback=nullptr)
 
static bool UnregisterPlugin (ObjectContainerCreateInstance create_callback)
 
static ObjectContainerCreateInstance GetObjectContainerCreateCallbackAtIndex (uint32_t idx)
 
static ObjectContainerCreateMemoryInstance GetObjectContainerCreateMemoryCallbackAtIndex (uint32_t idx)
 
static ObjectFileGetModuleSpecifications GetObjectContainerGetModuleSpecificationsCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, PlatformCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (PlatformCreateInstance create_callback)
 
static PlatformCreateInstance GetPlatformCreateCallbackAtIndex (uint32_t idx)
 
static PlatformCreateInstance GetPlatformCreateCallbackForPluginName (llvm::StringRef name)
 
static llvm::StringRef GetPlatformPluginNameAtIndex (uint32_t idx)
 
static llvm::StringRef GetPlatformPluginDescriptionAtIndex (uint32_t idx)
 
static void AutoCompletePlatformName (llvm::StringRef partial_name, CompletionRequest &request)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ProcessCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (ProcessCreateInstance create_callback)
 
static ProcessCreateInstance GetProcessCreateCallbackAtIndex (uint32_t idx)
 
static ProcessCreateInstance GetProcessCreateCallbackForPluginName (llvm::StringRef name)
 
static llvm::StringRef GetProcessPluginNameAtIndex (uint32_t idx)
 
static llvm::StringRef GetProcessPluginDescriptionAtIndex (uint32_t idx)
 
static void AutoCompleteProcessName (llvm::StringRef partial_name, CompletionRequest &request)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, RegisterTypeBuilderCreateInstance create_callback)
 
static bool UnregisterPlugin (RegisterTypeBuilderCreateInstance create_callback)
 
static lldb::RegisterTypeBuilderSP GetRegisterTypeBuilder (Target &target)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, lldb::ScriptLanguage script_lang, ScriptInterpreterCreateInstance create_callback)
 
static bool UnregisterPlugin (ScriptInterpreterCreateInstance create_callback)
 
static ScriptInterpreterCreateInstance GetScriptInterpreterCreateCallbackAtIndex (uint32_t idx)
 
static lldb::ScriptInterpreterSP GetScriptInterpreterForLanguage (lldb::ScriptLanguage script_lang, Debugger &debugger)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, StructuredDataPluginCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr, StructuredDataFilterLaunchInfo filter_callback=nullptr)
 Register a StructuredDataPlugin class along with optional callbacks for debugger initialization and Process launch info filtering and manipulation.
 
static bool UnregisterPlugin (StructuredDataPluginCreateInstance create_callback)
 
static StructuredDataPluginCreateInstance GetStructuredDataPluginCreateCallbackAtIndex (uint32_t idx)
 
static StructuredDataFilterLaunchInfo GetStructuredDataFilterCallbackAtIndex (uint32_t idx, bool &iteration_complete)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, SymbolFileCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (SymbolFileCreateInstance create_callback)
 
static SymbolFileCreateInstance GetSymbolFileCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, SymbolVendorCreateInstance create_callback)
 
static bool UnregisterPlugin (SymbolVendorCreateInstance create_callback)
 
static SymbolVendorCreateInstance GetSymbolVendorCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, SymbolLocatorCreateInstance create_callback, SymbolLocatorLocateExecutableObjectFile locate_executable_object_file=nullptr, SymbolLocatorLocateExecutableSymbolFile locate_executable_symbol_file=nullptr, SymbolLocatorDownloadObjectAndSymbolFile download_object_symbol_file=nullptr, SymbolLocatorFindSymbolFileInBundle find_symbol_file_in_bundle=nullptr, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (SymbolLocatorCreateInstance create_callback)
 
static SymbolLocatorCreateInstance GetSymbolLocatorCreateCallbackAtIndex (uint32_t idx)
 
static ModuleSpec LocateExecutableObjectFile (const ModuleSpec &module_spec)
 
static FileSpec LocateExecutableSymbolFile (const ModuleSpec &module_spec, const FileSpecList &default_search_paths)
 
static bool DownloadObjectAndSymbolFile (ModuleSpec &module_spec, Status &error, bool force_lookup=true, bool copy_executable=true)
 
static FileSpec FindSymbolFileInBundle (const FileSpec &dsym_bundle_fspec, const UUID *uuid, const ArchSpec *arch)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, TraceCreateInstanceFromBundle create_callback_from_bundle, TraceCreateInstanceForLiveProcess create_callback_for_live_process, llvm::StringRef schema, DebuggerInitializeCallback debugger_init_callback)
 
static bool UnregisterPlugin (TraceCreateInstanceFromBundle create_callback)
 
static TraceCreateInstanceFromBundle GetTraceCreateCallback (llvm::StringRef plugin_name)
 
static TraceCreateInstanceForLiveProcess GetTraceCreateCallbackForLiveProcess (llvm::StringRef plugin_name)
 
static llvm::StringRef GetTraceSchema (llvm::StringRef plugin_name)
 Get the JSON schema for a trace bundle description file corresponding to the given plugin.
 
static llvm::StringRef GetTraceSchema (size_t index)
 Get the JSON schema for a trace bundle description file corresponding to the plugin given by its index.
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, TraceExporterCreateInstance create_callback, ThreadTraceExportCommandCreator create_thread_trace_export_command)
 
static TraceExporterCreateInstance GetTraceExporterCreateCallback (llvm::StringRef plugin_name)
 
static bool UnregisterPlugin (TraceExporterCreateInstance create_callback)
 
static llvm::StringRef GetTraceExporterPluginNameAtIndex (uint32_t index)
 
static ThreadTraceExportCommandCreator GetThreadTraceExportCommandCreatorAtIndex (uint32_t index)
 Return the callback used to create the CommandObject that will be listed under "thread trace export".
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, UnwindAssemblyCreateInstance create_callback)
 
static bool UnregisterPlugin (UnwindAssemblyCreateInstance create_callback)
 
static UnwindAssemblyCreateInstance GetUnwindAssemblyCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, MemoryHistoryCreateInstance create_callback)
 
static bool UnregisterPlugin (MemoryHistoryCreateInstance create_callback)
 
static MemoryHistoryCreateInstance GetMemoryHistoryCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, InstrumentationRuntimeCreateInstance create_callback, InstrumentationRuntimeGetType get_type_callback)
 
static bool UnregisterPlugin (InstrumentationRuntimeCreateInstance create_callback)
 
static InstrumentationRuntimeGetType GetInstrumentationRuntimeGetTypeCallbackAtIndex (uint32_t idx)
 
static InstrumentationRuntimeCreateInstance GetInstrumentationRuntimeCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, TypeSystemCreateInstance create_callback, LanguageSet supported_languages_for_types, LanguageSet supported_languages_for_expressions)
 
static bool UnregisterPlugin (TypeSystemCreateInstance create_callback)
 
static TypeSystemCreateInstance GetTypeSystemCreateCallbackAtIndex (uint32_t idx)
 
static LanguageSet GetAllTypeSystemSupportedLanguagesForTypes ()
 
static LanguageSet GetAllTypeSystemSupportedLanguagesForExpressions ()
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ScriptedInterfaceCreateInstance create_callback, lldb::ScriptLanguage language, ScriptedInterfaceUsages usages)
 
static bool UnregisterPlugin (ScriptedInterfaceCreateInstance create_callback)
 
static uint32_t GetNumScriptedInterfaces ()
 
static llvm::StringRef GetScriptedInterfaceNameAtIndex (uint32_t idx)
 
static llvm::StringRef GetScriptedInterfaceDescriptionAtIndex (uint32_t idx)
 
static lldb::ScriptLanguage GetScriptedInterfaceLanguageAtIndex (uint32_t idx)
 
static ScriptedInterfaceUsages GetScriptedInterfaceUsagesAtIndex (uint32_t idx)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, REPLCreateInstance create_callback, LanguageSet supported_languages)
 
static bool UnregisterPlugin (REPLCreateInstance create_callback)
 
static REPLCreateInstance GetREPLCreateCallbackAtIndex (uint32_t idx)
 
static LanguageSet GetREPLSupportedLanguagesAtIndex (uint32_t idx)
 
static LanguageSet GetREPLAllTypeSystemSupportedLanguages ()
 
static void DebuggerInitialize (Debugger &debugger)
 
static lldb::OptionValuePropertiesSP GetSettingForDynamicLoaderPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForDynamicLoaderPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForPlatformPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForPlatformPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForProcessPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForProcessPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForSymbolLocatorPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForSymbolLocatorPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static bool CreateSettingForTracePlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForObjectFilePlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForObjectFilePlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForSymbolFilePlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForSymbolFilePlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForJITLoaderPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForJITLoaderPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForOperatingSystemPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForOperatingSystemPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForStructuredDataPlugin (Debugger &debugger, llvm::StringRef setting_name)
 
static bool CreateSettingForStructuredDataPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, llvm::StringRef description, bool is_global_property)
 

Detailed Description

Definition at line 50 of file PluginManager.h.

Member Function Documentation

◆ AutoCompletePlatformName()

void PluginManager::AutoCompletePlatformName ( llvm::StringRef  partial_name,
CompletionRequest request 
)
static

◆ AutoCompleteProcessName()

void PluginManager::AutoCompleteProcessName ( llvm::StringRef  partial_name,
CompletionRequest request 
)
static

◆ CreateArchitectureInstance()

std::unique_ptr< Architecture > PluginManager::CreateArchitectureInstance ( const ArchSpec arch)
static

Definition at line 331 of file PluginManager.cpp.

References GetArchitectureInstances().

Referenced by lldb_private::Target::Arch::operator=().

◆ CreateSettingForDynamicLoaderPlugin()

bool PluginManager::CreateSettingForDynamicLoaderPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForJITLoaderPlugin()

bool PluginManager::CreateSettingForJITLoaderPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForObjectFilePlugin()

bool PluginManager::CreateSettingForObjectFilePlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForOperatingSystemPlugin()

bool PluginManager::CreateSettingForOperatingSystemPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForPlatformPlugin()

bool PluginManager::CreateSettingForPlatformPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForProcessPlugin()

bool PluginManager::CreateSettingForProcessPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForStructuredDataPlugin()

bool PluginManager::CreateSettingForStructuredDataPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForSymbolFilePlugin()

bool PluginManager::CreateSettingForSymbolFilePlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForSymbolLocatorPlugin()

bool PluginManager::CreateSettingForSymbolLocatorPlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ CreateSettingForTracePlugin()

bool PluginManager::CreateSettingForTracePlugin ( Debugger debugger,
const lldb::OptionValuePropertiesSP properties_sp,
llvm::StringRef  description,
bool  is_global_property 
)
static

◆ DebuggerInitialize()

void PluginManager::DebuggerInitialize ( Debugger debugger)
static

◆ DownloadObjectAndSymbolFile()

bool PluginManager::DownloadObjectAndSymbolFile ( ModuleSpec module_spec,
Status error,
bool  force_lookup = true,
bool  copy_executable = true 
)
static

◆ FindSymbolFileInBundle()

FileSpec PluginManager::FindSymbolFileInBundle ( const FileSpec dsym_bundle_fspec,
const UUID uuid,
const ArchSpec arch 
)
static

◆ GetABICreateCallbackAtIndex()

ABICreateInstance PluginManager::GetABICreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetAllTypeSystemSupportedLanguagesForExpressions()

LanguageSet PluginManager::GetAllTypeSystemSupportedLanguagesForExpressions ( )
static

◆ GetAllTypeSystemSupportedLanguagesForTypes()

LanguageSet PluginManager::GetAllTypeSystemSupportedLanguagesForTypes ( )
static

◆ GetDisassemblerCreateCallbackAtIndex()

DisassemblerCreateInstance PluginManager::GetDisassemblerCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetDisassemblerCreateCallbackForPluginName()

DisassemblerCreateInstance PluginManager::GetDisassemblerCreateCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetDynamicLoaderCreateCallbackAtIndex()

DynamicLoaderCreateInstance PluginManager::GetDynamicLoaderCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetDynamicLoaderCreateCallbackForPluginName()

DynamicLoaderCreateInstance PluginManager::GetDynamicLoaderCreateCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetEmulateInstructionCreateCallbackAtIndex()

EmulateInstructionCreateInstance PluginManager::GetEmulateInstructionCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetEmulateInstructionCreateCallbackForPluginName()

EmulateInstructionCreateInstance PluginManager::GetEmulateInstructionCreateCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetInstrumentationRuntimeCreateCallbackAtIndex()

InstrumentationRuntimeCreateInstance PluginManager::GetInstrumentationRuntimeCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetInstrumentationRuntimeGetTypeCallbackAtIndex()

InstrumentationRuntimeGetType PluginManager::GetInstrumentationRuntimeGetTypeCallbackAtIndex ( uint32_t  idx)
static

◆ GetJITLoaderCreateCallbackAtIndex()

JITLoaderCreateInstance PluginManager::GetJITLoaderCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetLanguageCreateCallbackAtIndex()

LanguageCreateInstance PluginManager::GetLanguageCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetLanguageRuntimeCreateCallbackAtIndex()

LanguageRuntimeCreateInstance PluginManager::GetLanguageRuntimeCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetLanguageRuntimeGetCommandObjectAtIndex()

LanguageRuntimeGetCommandObject PluginManager::GetLanguageRuntimeGetCommandObjectAtIndex ( uint32_t  idx)
static

◆ GetLanguageRuntimeGetExceptionPreconditionAtIndex()

LanguageRuntimeGetExceptionPrecondition PluginManager::GetLanguageRuntimeGetExceptionPreconditionAtIndex ( uint32_t  idx)
static

◆ GetMemoryHistoryCreateCallbackAtIndex()

MemoryHistoryCreateInstance PluginManager::GetMemoryHistoryCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetNumScriptedInterfaces()

uint32_t PluginManager::GetNumScriptedInterfaces ( )
static

◆ GetObjectContainerCreateCallbackAtIndex()

ObjectContainerCreateInstance PluginManager::GetObjectContainerCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetObjectContainerCreateMemoryCallbackAtIndex()

ObjectContainerCreateMemoryInstance PluginManager::GetObjectContainerCreateMemoryCallbackAtIndex ( uint32_t  idx)
static

◆ GetObjectContainerGetModuleSpecificationsCallbackAtIndex()

ObjectFileGetModuleSpecifications PluginManager::GetObjectContainerGetModuleSpecificationsCallbackAtIndex ( uint32_t  idx)
static

◆ GetObjectFileCreateCallbackAtIndex()

ObjectFileCreateInstance PluginManager::GetObjectFileCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetObjectFileCreateMemoryCallbackAtIndex()

ObjectFileCreateMemoryInstance PluginManager::GetObjectFileCreateMemoryCallbackAtIndex ( uint32_t  idx)
static

◆ GetObjectFileCreateMemoryCallbackForPluginName()

ObjectFileCreateMemoryInstance PluginManager::GetObjectFileCreateMemoryCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetObjectFileGetModuleSpecificationsCallbackAtIndex()

ObjectFileGetModuleSpecifications PluginManager::GetObjectFileGetModuleSpecificationsCallbackAtIndex ( uint32_t  idx)
static

◆ GetOperatingSystemCreateCallbackAtIndex()

OperatingSystemCreateInstance PluginManager::GetOperatingSystemCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetOperatingSystemCreateCallbackForPluginName()

OperatingSystemCreateInstance PluginManager::GetOperatingSystemCreateCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetPlatformCreateCallbackAtIndex()

PlatformCreateInstance PluginManager::GetPlatformCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetPlatformCreateCallbackForPluginName()

PlatformCreateInstance PluginManager::GetPlatformCreateCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetPlatformPluginDescriptionAtIndex()

llvm::StringRef PluginManager::GetPlatformPluginDescriptionAtIndex ( uint32_t  idx)
static

◆ GetPlatformPluginNameAtIndex()

llvm::StringRef PluginManager::GetPlatformPluginNameAtIndex ( uint32_t  idx)
static

◆ GetProcessCreateCallbackAtIndex()

ProcessCreateInstance PluginManager::GetProcessCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetProcessCreateCallbackForPluginName()

ProcessCreateInstance PluginManager::GetProcessCreateCallbackForPluginName ( llvm::StringRef  name)
static

◆ GetProcessPluginDescriptionAtIndex()

llvm::StringRef PluginManager::GetProcessPluginDescriptionAtIndex ( uint32_t  idx)
static

◆ GetProcessPluginNameAtIndex()

llvm::StringRef PluginManager::GetProcessPluginNameAtIndex ( uint32_t  idx)
static

◆ GetRegisterTypeBuilder()

lldb::RegisterTypeBuilderSP PluginManager::GetRegisterTypeBuilder ( Target target)
static

◆ GetREPLAllTypeSystemSupportedLanguages()

LanguageSet PluginManager::GetREPLAllTypeSystemSupportedLanguages ( )
static

◆ GetREPLCreateCallbackAtIndex()

REPLCreateInstance PluginManager::GetREPLCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetREPLSupportedLanguagesAtIndex()

LanguageSet PluginManager::GetREPLSupportedLanguagesAtIndex ( uint32_t  idx)
static

◆ GetScriptedInterfaceDescriptionAtIndex()

llvm::StringRef PluginManager::GetScriptedInterfaceDescriptionAtIndex ( uint32_t  idx)
static

◆ GetScriptedInterfaceLanguageAtIndex()

lldb::ScriptLanguage PluginManager::GetScriptedInterfaceLanguageAtIndex ( uint32_t  idx)
static

◆ GetScriptedInterfaceNameAtIndex()

llvm::StringRef PluginManager::GetScriptedInterfaceNameAtIndex ( uint32_t  idx)
static

◆ GetScriptedInterfaceUsagesAtIndex()

ScriptedInterfaceUsages PluginManager::GetScriptedInterfaceUsagesAtIndex ( uint32_t  idx)
static

◆ GetScriptInterpreterCreateCallbackAtIndex()

ScriptInterpreterCreateInstance PluginManager::GetScriptInterpreterCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetScriptInterpreterForLanguage()

lldb::ScriptInterpreterSP PluginManager::GetScriptInterpreterForLanguage ( lldb::ScriptLanguage  script_lang,
Debugger debugger 
)
static

◆ GetSettingForDynamicLoaderPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForDynamicLoaderPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetSettingForJITLoaderPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForJITLoaderPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

Definition at line 1861 of file PluginManager.cpp.

References GetSettingForPlugin(), and kJITLoaderPluginName().

Referenced by JITLoaderGDB::DebuggerInitialize().

◆ GetSettingForObjectFilePlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForObjectFilePlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetSettingForOperatingSystemPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForOperatingSystemPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetSettingForPlatformPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForPlatformPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetSettingForProcessPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForProcessPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetSettingForStructuredDataPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForStructuredDataPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

Definition at line 1910 of file PluginManager.cpp.

References GetSettingForPlugin(), and kStructuredDataPluginName().

◆ GetSettingForSymbolFilePlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForSymbolFilePlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetSettingForSymbolLocatorPlugin()

lldb::OptionValuePropertiesSP PluginManager::GetSettingForSymbolLocatorPlugin ( Debugger debugger,
llvm::StringRef  setting_name 
)
static

◆ GetStructuredDataFilterCallbackAtIndex()

StructuredDataFilterLaunchInfo PluginManager::GetStructuredDataFilterCallbackAtIndex ( uint32_t  idx,
bool &  iteration_complete 
)
static

◆ GetStructuredDataPluginCreateCallbackAtIndex()

StructuredDataPluginCreateInstance PluginManager::GetStructuredDataPluginCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetSymbolFileCreateCallbackAtIndex()

SymbolFileCreateInstance PluginManager::GetSymbolFileCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetSymbolLocatorCreateCallbackAtIndex()

SymbolLocatorCreateInstance PluginManager::GetSymbolLocatorCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetSymbolVendorCreateCallbackAtIndex()

SymbolVendorCreateInstance PluginManager::GetSymbolVendorCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetSystemRuntimeCreateCallbackAtIndex()

SystemRuntimeCreateInstance PluginManager::GetSystemRuntimeCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetThreadTraceExportCommandCreatorAtIndex()

ThreadTraceExportCommandCreator PluginManager::GetThreadTraceExportCommandCreatorAtIndex ( uint32_t  index)
static

Return the callback used to create the CommandObject that will be listed under "thread trace export".

Can be null.

Definition at line 1338 of file PluginManager.cpp.

References GetTraceExporterInstances().

Referenced by CommandObjectTraceExport::CommandObjectTraceExport().

◆ GetTraceCreateCallback()

TraceCreateInstanceFromBundle PluginManager::GetTraceCreateCallback ( llvm::StringRef  plugin_name)
static

◆ GetTraceCreateCallbackForLiveProcess()

TraceCreateInstanceForLiveProcess PluginManager::GetTraceCreateCallbackForLiveProcess ( llvm::StringRef  plugin_name)
static

◆ GetTraceExporterCreateCallback()

TraceExporterCreateInstance PluginManager::GetTraceExporterCreateCallback ( llvm::StringRef  plugin_name)
static

◆ GetTraceExporterPluginNameAtIndex()

llvm::StringRef PluginManager::GetTraceExporterPluginNameAtIndex ( uint32_t  index)
static

◆ GetTraceSchema() [1/2]

llvm::StringRef PluginManager::GetTraceSchema ( llvm::StringRef  plugin_name)
static

Get the JSON schema for a trace bundle description file corresponding to the given plugin.

Parameters
[in]plugin_nameThe name of the plugin.
Returns
An empty StringRef if no plugin was found with that plugin name, otherwise the actual schema is returned.

Definition at line 1282 of file PluginManager.cpp.

References GetTracePluginInstances().

Referenced by CommandObjectTraceSchema::DoExecute(), and lldb_private::Trace::FindPluginSchema().

◆ GetTraceSchema() [2/2]

llvm::StringRef PluginManager::GetTraceSchema ( size_t  index)
static

Get the JSON schema for a trace bundle description file corresponding to the plugin given by its index.

Parameters
[in]indexThe index of the plugin to get the schema of.
Returns
An empty StringRef if the index is greater than or equal to the number plugins, otherwise the actual schema is returned.

Definition at line 1289 of file PluginManager.cpp.

References GetTracePluginInstances().

◆ GetTypeSystemCreateCallbackAtIndex()

TypeSystemCreateInstance PluginManager::GetTypeSystemCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetUnwindAssemblyCreateCallbackAtIndex()

UnwindAssemblyCreateInstance PluginManager::GetUnwindAssemblyCreateCallbackAtIndex ( uint32_t  idx)
static

◆ Initialize()

void PluginManager::Initialize ( )
static

◆ IsRegisteredObjectFilePluginName()

bool PluginManager::IsRegisteredObjectFilePluginName ( llvm::StringRef  name)
static

◆ LocateExecutableObjectFile()

ModuleSpec PluginManager::LocateExecutableObjectFile ( const ModuleSpec module_spec)
static

◆ LocateExecutableSymbolFile()

FileSpec PluginManager::LocateExecutableSymbolFile ( const ModuleSpec module_spec,
const FileSpecList default_search_paths 
)
static

◆ RegisterPlugin() [1/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
ABICreateInstance  create_callback 
)
static

Definition at line 287 of file PluginManager.cpp.

References GetABIInstances(), and PluginInstances< Instance >::RegisterPlugin().

Referenced by lldb_private::ObjectFileJIT::Initialize(), lldb_private::ProcessTrace::Initialize(), ABIMacOSX_arm64::Initialize(), ABISysV_arm64::Initialize(), ABISysV_arc::Initialize(), ABIMacOSX_arm::Initialize(), ABISysV_arm::Initialize(), ABISysV_hexagon::Initialize(), ABISysV_mips::Initialize(), ABISysV_mips64::Initialize(), ABISysV_msp430::Initialize(), ABISysV_ppc::Initialize(), ABISysV_ppc64::Initialize(), ABISysV_riscv::Initialize(), ABISysV_s390x::Initialize(), ABIMacOSX_i386::Initialize(), ABISysV_i386::Initialize(), ABISysV_x86_64::Initialize(), ABIWindows_x86_64::Initialize(), lldb_private::ArchitectureAArch64::Initialize(), lldb_private::ArchitectureArm::Initialize(), lldb_private::ArchitectureMips::Initialize(), lldb_private::ArchitecturePPC64::Initialize(), DisassemblerLLVMC::Initialize(), DynamicLoaderDarwinKernel::Initialize(), DynamicLoaderFreeBSDKernel::Initialize(), DynamicLoaderHexagonDYLD::Initialize(), DynamicLoaderMacOS::Initialize(), DynamicLoaderMacOSXDYLD::Initialize(), DynamicLoaderPOSIXDYLD::Initialize(), DynamicLoaderStatic::Initialize(), lldb_private::wasm::DynamicLoaderWasmDYLD::Initialize(), lldb_private::DynamicLoaderWindowsDYLD::Initialize(), lldb_private::EmulateInstructionARM::Initialize(), EmulateInstructionARM64::Initialize(), lldb_private::EmulateInstructionLoongArch::Initialize(), EmulateInstructionMIPS::Initialize(), EmulateInstructionMIPS64::Initialize(), lldb_private::EmulateInstructionPPC64::Initialize(), lldb_private::EmulateInstructionRISCV::Initialize(), lldb_private::InstrumentationRuntimeASan::Initialize(), InstrumentationRuntimeASanLibsanitizers::Initialize(), lldb_private::InstrumentationRuntimeMainThreadChecker::Initialize(), lldb_private::InstrumentationRuntimeTSan::Initialize(), lldb_private::InstrumentationRuntimeUBSan::Initialize(), JITLoaderGDB::Initialize(), lldb_private::CPlusPlusLanguage::Initialize(), lldb_private::ObjCLanguage::Initialize(), lldb_private::ObjCPlusPlusLanguage::Initialize(), lldb_private::ItaniumABILanguageRuntime::Initialize(), lldb_private::AppleObjCRuntimeV1::Initialize(), lldb_private::AppleObjCRuntimeV2::Initialize(), lldb_private::GNUstepObjCRuntime::Initialize(), lldb_private::MemoryHistoryASan::Initialize(), ObjectContainerBSDArchive::Initialize(), lldb_private::ObjectContainerMachOFileset::Initialize(), lldb_private::breakpad::ObjectFileBreakpad::Initialize(), ObjectFileCOFF::Initialize(), ObjectFileELF::Initialize(), lldb_private::ObjectFileJSON::Initialize(), ObjectFileMachO::Initialize(), ObjectFileMinidump::Initialize(), lldb_private::ObjectFilePDB::Initialize(), ObjectFilePECOFF::Initialize(), lldb_private::wasm::ObjectFileWasm::Initialize(), lldb_private::platform_android::PlatformAndroid::Initialize(), lldb_private::platform_freebsd::PlatformFreeBSD::Initialize(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Initialize(), lldb_private::platform_linux::PlatformLinux::Initialize(), PlatformiOSSimulator::Initialize(), PlatformAppleTVSimulator::Initialize(), PlatformAppleWatchSimulator::Initialize(), PlatformXRSimulator::Initialize(), lldb_private::PlatformDarwin::Initialize(), lldb_private::PlatformMacOSX::Initialize(), lldb_private::PlatformRemoteAppleBridge::Initialize(), lldb_private::PlatformRemoteAppleTV::Initialize(), lldb_private::PlatformRemoteAppleWatch::Initialize(), lldb_private::PlatformRemoteAppleXR::Initialize(), lldb_private::PlatformRemoteiOS::Initialize(), lldb_private::PlatformRemoteMacOSX::Initialize(), lldb_private::platform_netbsd::PlatformNetBSD::Initialize(), lldb_private::platform_openbsd::PlatformOpenBSD::Initialize(), lldb_private::PlatformQemuUser::Initialize(), lldb_private::PlatformWindows::Initialize(), ProcessElfCore::Initialize(), ProcessFreeBSDKernel::Initialize(), lldb_private::process_gdb_remote::ProcessGDBRemote::Initialize(), ProcessMachCore::Initialize(), ProcessKDP::Initialize(), lldb_private::minidump::ProcessMinidump::Initialize(), lldb_private::ScriptedProcess::Initialize(), lldb_private::ProcessWindows::Initialize(), lldb_private::RegisterTypeBuilderClang::Initialize(), lldb_private::ClangREPL::Initialize(), lldb_private::ScriptInterpreterLua::Initialize(), lldb_private::ScriptInterpreterNone::Initialize(), lldb_private::StructuredDataDarwinLog::Initialize(), lldb_private::breakpad::SymbolFileBreakpad::Initialize(), lldb_private::SymbolFileCTF::Initialize(), lldb_private::plugin::dwarf::SymbolFileDWARF::Initialize(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::Initialize(), lldb_private::SymbolFileJSON::Initialize(), lldb_private::npdb::SymbolFileNativePDB::Initialize(), SymbolFilePDB::Initialize(), SymbolFileSymtab::Initialize(), lldb_private::SymbolLocatorDebuginfod::Initialize(), lldb_private::SymbolLocatorDebugSymbols::Initialize(), lldb_private::SymbolLocatorDefault::Initialize(), SymbolVendorELF::Initialize(), SymbolVendorMacOSX::Initialize(), SymbolVendorPECOFF::Initialize(), lldb_private::wasm::SymbolVendorWasm::Initialize(), SystemRuntimeMacOSX::Initialize(), lldb_private::trace_intel_pt::TraceIntelPT::Initialize(), lldb_private::ctf::TraceExporterCTF::Initialize(), lldb_private::TypeSystemClang::Initialize(), UnwindAssemblyInstEmulation::Initialize(), UnwindAssembly_x86::Initialize(), and LLDB_PLUGIN_DEFINE_ADV().

◆ RegisterPlugin() [2/28]

void PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
ArchitectureCreateInstance  create_callback 
)
static

Definition at line 311 of file PluginManager.cpp.

References GetArchitectureInstances().

◆ RegisterPlugin() [3/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
DisassemblerCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [4/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
DynamicLoaderCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [5/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
EmulateInstructionCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [6/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
InstrumentationRuntimeCreateInstance  create_callback,
InstrumentationRuntimeGetType  get_type_callback 
)
static

◆ RegisterPlugin() [7/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
JITLoaderCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [8/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
LanguageCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [9/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
LanguageRuntimeCreateInstance  create_callback,
LanguageRuntimeGetCommandObject  command_callback = nullptr,
LanguageRuntimeGetExceptionPrecondition  precondition_callback = nullptr 
)
static

◆ RegisterPlugin() [10/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
lldb::ScriptLanguage  script_lang,
ScriptInterpreterCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [11/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
MemoryHistoryCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [12/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
ObjectContainerCreateInstance  create_callback,
ObjectFileGetModuleSpecifications  get_module_specifications,
ObjectContainerCreateMemoryInstance  create_memory_callback = nullptr 
)
static

◆ RegisterPlugin() [13/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
ObjectFileCreateInstance  create_callback,
ObjectFileCreateMemoryInstance  create_memory_callback,
ObjectFileGetModuleSpecifications  get_module_specifications,
ObjectFileSaveCore  save_core = nullptr,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [14/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
OperatingSystemCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback 
)
static

◆ RegisterPlugin() [15/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
PlatformCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [16/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
ProcessCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [17/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
RegisterTypeBuilderCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [18/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
REPLCreateInstance  create_callback,
LanguageSet  supported_languages 
)
static

◆ RegisterPlugin() [19/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
ScriptedInterfaceCreateInstance  create_callback,
lldb::ScriptLanguage  language,
ScriptedInterfaceUsages  usages 
)
static

◆ RegisterPlugin() [20/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
StructuredDataPluginCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr,
StructuredDataFilterLaunchInfo  filter_callback = nullptr 
)
static

Register a StructuredDataPlugin class along with optional callbacks for debugger initialization and Process launch info filtering and manipulation.

Parameters
[in]nameThe name of the plugin.
[in]descriptionA description string for the plugin.
[in]create_callbackThe callback that will be invoked to create an instance of the callback. This may not be nullptr.
[in]debugger_init_callbackAn optional callback that will be made when a Debugger instance is initialized.
[in]filter_callbackAn optional callback that will be invoked before LLDB launches a process for debugging. The callback must do the following:
  1. Only do something if the plugin's behavior is enabled.
  2. Only make changes for processes that are relevant to the plugin. The callback gets a pointer to the Target, which can be inspected as needed. The ProcessLaunchInfo is provided in read-write mode, and may be modified by the plugin if, for instance, additional environment variables are needed to support the feature when enabled.
Returns
Returns true upon success; otherwise, false.

Definition at line 1027 of file PluginManager.cpp.

References GetStructuredDataPluginInstances(), and PluginInstances< Instance >::RegisterPlugin().

◆ RegisterPlugin() [21/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
SymbolFileCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [22/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
SymbolLocatorCreateInstance  create_callback,
SymbolLocatorLocateExecutableObjectFile  locate_executable_object_file = nullptr,
SymbolLocatorLocateExecutableSymbolFile  locate_executable_symbol_file = nullptr,
SymbolLocatorDownloadObjectAndSymbolFile  download_object_symbol_file = nullptr,
SymbolLocatorFindSymbolFileInBundle  find_symbol_file_in_bundle = nullptr,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [23/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
SymbolVendorCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [24/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
SystemRuntimeCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [25/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
TraceCreateInstanceFromBundle  create_callback_from_bundle,
TraceCreateInstanceForLiveProcess  create_callback_for_live_process,
llvm::StringRef  schema,
DebuggerInitializeCallback  debugger_init_callback 
)
static

◆ RegisterPlugin() [26/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
TraceExporterCreateInstance  create_callback,
ThreadTraceExportCommandCreator  create_thread_trace_export_command 
)
static
Parameters
[in]create_thread_trace_export_commandThis callback is used to create a CommandObject that will be listed under "thread trace export". Can be null.

Definition at line 1319 of file PluginManager.cpp.

References GetTraceExporterInstances(), and PluginInstances< Instance >::RegisterPlugin().

◆ RegisterPlugin() [27/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
TypeSystemCreateInstance  create_callback,
LanguageSet  supported_languages_for_types,
LanguageSet  supported_languages_for_expressions 
)
static

◆ RegisterPlugin() [28/28]

bool PluginManager::RegisterPlugin ( llvm::StringRef  name,
llvm::StringRef  description,
UnwindAssemblyCreateInstance  create_callback 
)
static

◆ SaveCore()

Status PluginManager::SaveCore ( const lldb::ProcessSP process_sp,
lldb_private::SaveCoreOptions core_options 
)
static

◆ Terminate()

void PluginManager::Terminate ( )
static

◆ UnregisterPlugin() [1/28]

bool PluginManager::UnregisterPlugin ( ABICreateInstance  create_callback)
static

Definition at line 293 of file PluginManager.cpp.

References GetABIInstances(), and PluginInstances< Instance >::UnregisterPlugin().

Referenced by lldb_private::ObjectFileJIT::Terminate(), lldb_private::ProcessTrace::Terminate(), ABIMacOSX_arm64::Terminate(), ABISysV_arm64::Terminate(), ABISysV_arc::Terminate(), ABIMacOSX_arm::Terminate(), ABISysV_arm::Terminate(), ABISysV_hexagon::Terminate(), ABISysV_mips::Terminate(), ABISysV_mips64::Terminate(), ABISysV_msp430::Terminate(), ABISysV_ppc::Terminate(), ABISysV_ppc64::Terminate(), ABISysV_riscv::Terminate(), ABISysV_s390x::Terminate(), ABIMacOSX_i386::Terminate(), ABISysV_i386::Terminate(), ABISysV_x86_64::Terminate(), ABIWindows_x86_64::Terminate(), lldb_private::ArchitectureAArch64::Terminate(), lldb_private::ArchitectureArm::Terminate(), lldb_private::ArchitectureMips::Terminate(), lldb_private::ArchitecturePPC64::Terminate(), DisassemblerLLVMC::Terminate(), DynamicLoaderDarwinKernel::Terminate(), DynamicLoaderFreeBSDKernel::Terminate(), DynamicLoaderMacOS::Terminate(), DynamicLoaderMacOSXDYLD::Terminate(), DynamicLoaderStatic::Terminate(), lldb_private::EmulateInstructionARM::Terminate(), EmulateInstructionARM64::Terminate(), lldb_private::EmulateInstructionLoongArch::Terminate(), EmulateInstructionMIPS::Terminate(), EmulateInstructionMIPS64::Terminate(), lldb_private::EmulateInstructionPPC64::Terminate(), lldb_private::EmulateInstructionRISCV::Terminate(), lldb_private::InstrumentationRuntimeASan::Terminate(), InstrumentationRuntimeASanLibsanitizers::Terminate(), lldb_private::InstrumentationRuntimeMainThreadChecker::Terminate(), lldb_private::InstrumentationRuntimeTSan::Terminate(), lldb_private::InstrumentationRuntimeUBSan::Terminate(), JITLoaderGDB::Terminate(), lldb_private::CPlusPlusLanguage::Terminate(), lldb_private::ObjCLanguage::Terminate(), lldb_private::ObjCPlusPlusLanguage::Terminate(), lldb_private::ItaniumABILanguageRuntime::Terminate(), lldb_private::AppleObjCRuntimeV1::Terminate(), lldb_private::AppleObjCRuntimeV2::Terminate(), lldb_private::GNUstepObjCRuntime::Terminate(), lldb_private::MemoryHistoryASan::Terminate(), ObjectContainerBSDArchive::Terminate(), lldb_private::ObjectContainerMachOFileset::Terminate(), ObjectContainerUniversalMachO::Terminate(), lldb_private::breakpad::ObjectFileBreakpad::Terminate(), ObjectFileCOFF::Terminate(), ObjectFileELF::Terminate(), lldb_private::ObjectFileJSON::Terminate(), ObjectFileMachO::Terminate(), ObjectFileMinidump::Terminate(), lldb_private::ObjectFilePDB::Terminate(), ObjectFilePECOFF::Terminate(), lldb_private::wasm::ObjectFileWasm::Terminate(), lldb_private::platform_android::PlatformAndroid::Terminate(), lldb_private::platform_freebsd::PlatformFreeBSD::Terminate(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::Terminate(), lldb_private::platform_linux::PlatformLinux::Terminate(), PlatformiOSSimulator::Terminate(), PlatformAppleTVSimulator::Terminate(), PlatformAppleWatchSimulator::Terminate(), PlatformXRSimulator::Terminate(), lldb_private::PlatformDarwin::Terminate(), lldb_private::PlatformMacOSX::Terminate(), lldb_private::PlatformRemoteAppleBridge::Terminate(), lldb_private::PlatformRemoteAppleTV::Terminate(), lldb_private::PlatformRemoteAppleWatch::Terminate(), lldb_private::PlatformRemoteAppleXR::Terminate(), lldb_private::PlatformRemoteiOS::Terminate(), lldb_private::PlatformRemoteMacOSX::Terminate(), lldb_private::platform_netbsd::PlatformNetBSD::Terminate(), lldb_private::platform_openbsd::PlatformOpenBSD::Terminate(), lldb_private::PlatformQemuUser::Terminate(), lldb_private::PlatformWindows::Terminate(), ProcessElfCore::Terminate(), ProcessFreeBSDKernel::Terminate(), lldb_private::process_gdb_remote::ProcessGDBRemote::Terminate(), ProcessMachCore::Terminate(), ProcessKDP::Terminate(), lldb_private::minidump::ProcessMinidump::Terminate(), lldb_private::ScriptedProcess::Terminate(), lldb_private::ClangREPL::Terminate(), lldb_private::StructuredDataDarwinLog::Terminate(), lldb_private::breakpad::SymbolFileBreakpad::Terminate(), lldb_private::SymbolFileCTF::Terminate(), lldb_private::plugin::dwarf::SymbolFileDWARF::Terminate(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::Terminate(), lldb_private::SymbolFileJSON::Terminate(), lldb_private::npdb::SymbolFileNativePDB::Terminate(), SymbolFilePDB::Terminate(), SymbolFileSymtab::Terminate(), lldb_private::SymbolLocatorDebuginfod::Terminate(), lldb_private::SymbolLocatorDebugSymbols::Terminate(), lldb_private::SymbolLocatorDefault::Terminate(), SymbolVendorELF::Terminate(), SymbolVendorMacOSX::Terminate(), SymbolVendorPECOFF::Terminate(), lldb_private::wasm::SymbolVendorWasm::Terminate(), SystemRuntimeMacOSX::Terminate(), lldb_private::trace_intel_pt::TraceIntelPT::Terminate(), lldb_private::ctf::TraceExporterCTF::Terminate(), lldb_private::TypeSystemClang::Terminate(), UnwindAssemblyInstEmulation::Terminate(), and UnwindAssembly_x86::Terminate().

◆ UnregisterPlugin() [2/28]

void PluginManager::UnregisterPlugin ( ArchitectureCreateInstance  create_callback)
static

Definition at line 317 of file PluginManager.cpp.

References GetArchitectureInstances().

◆ UnregisterPlugin() [3/28]

bool PluginManager::UnregisterPlugin ( DisassemblerCreateInstance  create_callback)
static

◆ UnregisterPlugin() [4/28]

bool PluginManager::UnregisterPlugin ( DynamicLoaderCreateInstance  create_callback)
static

◆ UnregisterPlugin() [5/28]

bool PluginManager::UnregisterPlugin ( EmulateInstructionCreateInstance  create_callback)
static

◆ UnregisterPlugin() [6/28]

bool PluginManager::UnregisterPlugin ( InstrumentationRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [7/28]

bool PluginManager::UnregisterPlugin ( JITLoaderCreateInstance  create_callback)
static

◆ UnregisterPlugin() [8/28]

bool PluginManager::UnregisterPlugin ( LanguageCreateInstance  create_callback)
static

◆ UnregisterPlugin() [9/28]

bool PluginManager::UnregisterPlugin ( LanguageRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [10/28]

bool PluginManager::UnregisterPlugin ( MemoryHistoryCreateInstance  create_callback)
static

◆ UnregisterPlugin() [11/28]

bool PluginManager::UnregisterPlugin ( ObjectContainerCreateInstance  create_callback)
static

◆ UnregisterPlugin() [12/28]

bool PluginManager::UnregisterPlugin ( ObjectFileCreateInstance  create_callback)
static

◆ UnregisterPlugin() [13/28]

bool PluginManager::UnregisterPlugin ( OperatingSystemCreateInstance  create_callback)
static

◆ UnregisterPlugin() [14/28]

bool PluginManager::UnregisterPlugin ( PlatformCreateInstance  create_callback)
static

◆ UnregisterPlugin() [15/28]

bool PluginManager::UnregisterPlugin ( ProcessCreateInstance  create_callback)
static

◆ UnregisterPlugin() [16/28]

bool PluginManager::UnregisterPlugin ( RegisterTypeBuilderCreateInstance  create_callback)
static

◆ UnregisterPlugin() [17/28]

bool PluginManager::UnregisterPlugin ( REPLCreateInstance  create_callback)
static

◆ UnregisterPlugin() [18/28]

bool PluginManager::UnregisterPlugin ( ScriptedInterfaceCreateInstance  create_callback)
static

◆ UnregisterPlugin() [19/28]

bool PluginManager::UnregisterPlugin ( ScriptInterpreterCreateInstance  create_callback)
static

◆ UnregisterPlugin() [20/28]

bool PluginManager::UnregisterPlugin ( StructuredDataPluginCreateInstance  create_callback)
static

◆ UnregisterPlugin() [21/28]

bool PluginManager::UnregisterPlugin ( SymbolFileCreateInstance  create_callback)
static

◆ UnregisterPlugin() [22/28]

bool PluginManager::UnregisterPlugin ( SymbolLocatorCreateInstance  create_callback)
static

◆ UnregisterPlugin() [23/28]

bool PluginManager::UnregisterPlugin ( SymbolVendorCreateInstance  create_callback)
static

◆ UnregisterPlugin() [24/28]

bool PluginManager::UnregisterPlugin ( SystemRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [25/28]

bool PluginManager::UnregisterPlugin ( TraceCreateInstanceFromBundle  create_callback)
static

◆ UnregisterPlugin() [26/28]

bool PluginManager::UnregisterPlugin ( TraceExporterCreateInstance  create_callback)
static

◆ UnregisterPlugin() [27/28]

bool PluginManager::UnregisterPlugin ( TypeSystemCreateInstance  create_callback)
static

◆ UnregisterPlugin() [28/28]

bool PluginManager::UnregisterPlugin ( UnwindAssemblyCreateInstance  create_callback)
static

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