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 (ConstString name, const char *description, DynamicLoaderCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (DynamicLoaderCreateInstance create_callback)
 
static DynamicLoaderCreateInstance GetDynamicLoaderCreateCallbackAtIndex (uint32_t idx)
 
static DynamicLoaderCreateInstance GetDynamicLoaderCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, JITLoaderCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (JITLoaderCreateInstance create_callback)
 
static JITLoaderCreateInstance GetJITLoaderCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *description, EmulateInstructionCreateInstance create_callback)
 
static bool UnregisterPlugin (EmulateInstructionCreateInstance create_callback)
 
static EmulateInstructionCreateInstance GetEmulateInstructionCreateCallbackAtIndex (uint32_t idx)
 
static EmulateInstructionCreateInstance GetEmulateInstructionCreateCallbackForPluginName (ConstString 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 (ConstString name, const char *description, LanguageCreateInstance create_callback)
 
static bool UnregisterPlugin (LanguageCreateInstance create_callback)
 
static LanguageCreateInstance GetLanguageCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *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 (ConstString name, const char *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)
 
static bool UnregisterPlugin (ObjectFileCreateInstance create_callback)
 
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, const FileSpec &outfile, lldb::SaveCoreStyle &core_style, llvm::StringRef plugin_name)
 
static bool RegisterPlugin (llvm::StringRef name, llvm::StringRef description, ObjectContainerCreateInstance create_callback, ObjectFileGetModuleSpecifications get_module_specifications)
 
static bool UnregisterPlugin (ObjectContainerCreateInstance create_callback)
 
static ObjectContainerCreateInstance GetObjectContainerCreateCallbackAtIndex (uint32_t idx)
 
static ObjectFileGetModuleSpecifications GetObjectContainerGetModuleSpecificationsCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *description, PlatformCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (PlatformCreateInstance create_callback)
 
static PlatformCreateInstance GetPlatformCreateCallbackAtIndex (uint32_t idx)
 
static PlatformCreateInstance GetPlatformCreateCallbackForPluginName (ConstString name)
 
static const char * GetPlatformPluginNameAtIndex (uint32_t idx)
 
static const char * GetPlatformPluginDescriptionAtIndex (uint32_t idx)
 
static void AutoCompletePlatformName (llvm::StringRef partial_name, CompletionRequest &request)
 
static bool RegisterPlugin (ConstString name, const char *description, ProcessCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (ProcessCreateInstance create_callback)
 
static ProcessCreateInstance GetProcessCreateCallbackAtIndex (uint32_t idx)
 
static ProcessCreateInstance GetProcessCreateCallbackForPluginName (ConstString name)
 
static const char * GetProcessPluginNameAtIndex (uint32_t idx)
 
static const char * GetProcessPluginDescriptionAtIndex (uint32_t idx)
 
static void AutoCompleteProcessName (llvm::StringRef partial_name, CompletionRequest &request)
 
static bool RegisterPlugin (ConstString name, const char *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 (ConstString name, const char *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. More...
 
static bool UnregisterPlugin (StructuredDataPluginCreateInstance create_callback)
 
static StructuredDataPluginCreateInstance GetStructuredDataPluginCreateCallbackAtIndex (uint32_t idx)
 
static StructuredDataFilterLaunchInfo GetStructuredDataFilterCallbackAtIndex (uint32_t idx, bool &iteration_complete)
 
static bool RegisterPlugin (ConstString name, const char *description, SymbolFileCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback=nullptr)
 
static bool UnregisterPlugin (SymbolFileCreateInstance create_callback)
 
static SymbolFileCreateInstance GetSymbolFileCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *description, SymbolVendorCreateInstance create_callback)
 
static bool UnregisterPlugin (SymbolVendorCreateInstance create_callback)
 
static SymbolVendorCreateInstance GetSymbolVendorCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *description, TraceCreateInstanceForSessionFile create_callback_for_session_file, TraceCreateInstanceForLiveProcess create_callback_for_live_process, llvm::StringRef schema)
 
static bool UnregisterPlugin (TraceCreateInstanceForSessionFile create_callback)
 
static TraceCreateInstanceForSessionFile GetTraceCreateCallback (ConstString plugin_name)
 
static TraceCreateInstanceForLiveProcess GetTraceCreateCallbackForLiveProcess (ConstString plugin_name)
 
static llvm::StringRef GetTraceSchema (ConstString plugin_name)
 Get the JSON schema for a trace session file corresponding to the given plugin. More...
 
static llvm::StringRef GetTraceSchema (size_t index)
 Get the JSON schema for a trace session file corresponding to the plugin given by its index. More...
 
static bool RegisterPlugin (ConstString name, const char *description, TraceExporterCreateInstance create_callback, ThreadTraceExportCommandCreator create_thread_trace_export_command)
 
static TraceExporterCreateInstance GetTraceExporterCreateCallback (ConstString plugin_name)
 
static bool UnregisterPlugin (TraceExporterCreateInstance create_callback)
 
static const char * 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". More...
 
static bool RegisterPlugin (ConstString name, const char *description, UnwindAssemblyCreateInstance create_callback)
 
static bool UnregisterPlugin (UnwindAssemblyCreateInstance create_callback)
 
static UnwindAssemblyCreateInstance GetUnwindAssemblyCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *description, MemoryHistoryCreateInstance create_callback)
 
static bool UnregisterPlugin (MemoryHistoryCreateInstance create_callback)
 
static MemoryHistoryCreateInstance GetMemoryHistoryCreateCallbackAtIndex (uint32_t idx)
 
static bool RegisterPlugin (ConstString name, const char *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 (ConstString name, const char *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 (ConstString name, const char *description, REPLCreateInstance create_callback, LanguageSet supported_languages)
 
static bool UnregisterPlugin (REPLCreateInstance create_callback)
 
static REPLCreateInstance GetREPLCreateCallbackAtIndex (uint32_t idx)
 
static LanguageSet GetREPLAllTypeSystemSupportedLanguages ()
 
static void DebuggerInitialize (Debugger &debugger)
 
static lldb::OptionValuePropertiesSP GetSettingForDynamicLoaderPlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForDynamicLoaderPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForPlatformPlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForPlatformPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForProcessPlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForProcessPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForSymbolFilePlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForSymbolFilePlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForJITLoaderPlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForJITLoaderPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForOperatingSystemPlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForOperatingSystemPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString description, bool is_global_property)
 
static lldb::OptionValuePropertiesSP GetSettingForStructuredDataPlugin (Debugger &debugger, ConstString setting_name)
 
static bool CreateSettingForStructuredDataPlugin (Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp, ConstString 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 334 of file PluginManager.cpp.

References GetArchitectureInstances().

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

◆ CreateSettingForDynamicLoaderPlugin()

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

Definition at line 1496 of file PluginManager.cpp.

References CreateSettingForPlugin(), and kDynamicLoaderPluginName().

◆ CreateSettingForJITLoaderPlugin()

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

Definition at line 1560 of file PluginManager.cpp.

References CreateSettingForPlugin(), and kJITLoaderPluginName().

◆ CreateSettingForOperatingSystemPlugin()

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

◆ CreateSettingForPlatformPlugin()

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

◆ CreateSettingForProcessPlugin()

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

◆ CreateSettingForStructuredDataPlugin()

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

◆ CreateSettingForSymbolFilePlugin()

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

Definition at line 1544 of file PluginManager.cpp.

References CreateSettingForPlugin(), and kSymbolFilePluginName().

◆ DebuggerInitialize()

void PluginManager::DebuggerInitialize ( Debugger debugger)
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 ( ConstString  name)
static

◆ GetEmulateInstructionCreateCallbackAtIndex()

EmulateInstructionCreateInstance PluginManager::GetEmulateInstructionCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetEmulateInstructionCreateCallbackForPluginName()

EmulateInstructionCreateInstance PluginManager::GetEmulateInstructionCreateCallbackForPluginName ( ConstString  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

◆ GetObjectContainerCreateCallbackAtIndex()

ObjectContainerCreateInstance PluginManager::GetObjectContainerCreateCallbackAtIndex ( 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 ( ConstString  name)
static

◆ GetPlatformPluginDescriptionAtIndex()

const char * PluginManager::GetPlatformPluginDescriptionAtIndex ( uint32_t  idx)
static

◆ GetPlatformPluginNameAtIndex()

const char * PluginManager::GetPlatformPluginNameAtIndex ( uint32_t  idx)
static

◆ GetProcessCreateCallbackAtIndex()

ProcessCreateInstance PluginManager::GetProcessCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetProcessCreateCallbackForPluginName()

ProcessCreateInstance PluginManager::GetProcessCreateCallbackForPluginName ( ConstString  name)
static

◆ GetProcessPluginDescriptionAtIndex()

const char * PluginManager::GetProcessPluginDescriptionAtIndex ( uint32_t  idx)
static

◆ GetProcessPluginNameAtIndex()

const char * PluginManager::GetProcessPluginNameAtIndex ( uint32_t  idx)
static

◆ GetREPLAllTypeSystemSupportedLanguages()

LanguageSet PluginManager::GetREPLAllTypeSystemSupportedLanguages ( )
static

◆ GetREPLCreateCallbackAtIndex()

REPLCreateInstance PluginManager::GetREPLCreateCallbackAtIndex ( 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,
ConstString  setting_name 
)
static

Definition at line 1490 of file PluginManager.cpp.

References GetSettingForPlugin(), and kDynamicLoaderPluginName().

◆ GetSettingForJITLoaderPlugin()

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

Definition at line 1554 of file PluginManager.cpp.

References GetSettingForPlugin(), and kJITLoaderPluginName().

◆ GetSettingForOperatingSystemPlugin()

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

◆ GetSettingForPlatformPlugin()

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

◆ GetSettingForProcessPlugin()

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

◆ GetSettingForStructuredDataPlugin()

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

Definition at line 1604 of file PluginManager.cpp.

References GetSettingForPlugin(), and kStructuredDataPluginName().

◆ GetSettingForSymbolFilePlugin()

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

Definition at line 1538 of file PluginManager.cpp.

References GetSettingForPlugin(), and kSymbolFilePluginName().

◆ 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

◆ 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 1140 of file PluginManager.cpp.

References GetTraceExporterInstances().

◆ GetTraceCreateCallback()

TraceCreateInstanceForSessionFile PluginManager::GetTraceCreateCallback ( ConstString  plugin_name)
static

◆ GetTraceCreateCallbackForLiveProcess()

TraceCreateInstanceForLiveProcess PluginManager::GetTraceCreateCallbackForLiveProcess ( ConstString  plugin_name)
static

Definition at line 1077 of file PluginManager.cpp.

References GetTracePluginInstances().

◆ GetTraceExporterCreateCallback()

TraceExporterCreateInstance PluginManager::GetTraceExporterCreateCallback ( ConstString  plugin_name)
static

◆ GetTraceExporterPluginNameAtIndex()

const char * PluginManager::GetTraceExporterPluginNameAtIndex ( uint32_t  index)
static

◆ GetTraceSchema() [1/2]

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

Get the JSON schema for a trace session 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 1084 of file PluginManager.cpp.

References GetTracePluginInstances().

◆ GetTraceSchema() [2/2]

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

Get the JSON schema for a trace session 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 1091 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

Definition at line 144 of file PluginManager.cpp.

References LoadPluginCallback(), and PATH_MAX.

Referenced by lldb_private::SystemInitializerFull::Initialize().

◆ RegisterPlugin() [1/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
DynamicLoaderCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [2/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
EmulateInstructionCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [3/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
InstrumentationRuntimeCreateInstance  create_callback,
InstrumentationRuntimeGetType  get_type_callback 
)
static

◆ RegisterPlugin() [4/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
JITLoaderCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [5/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
LanguageCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [6/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
LanguageRuntimeCreateInstance  create_callback,
LanguageRuntimeGetCommandObject  command_callback = nullptr,
LanguageRuntimeGetExceptionPrecondition  precondition_callback = nullptr 
)
static

◆ RegisterPlugin() [7/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
lldb::ScriptLanguage  script_lang,
ScriptInterpreterCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [8/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
MemoryHistoryCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [9/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
PlatformCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [10/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
ProcessCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [11/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
REPLCreateInstance  create_callback,
LanguageSet  supported_languages 
)
static

◆ RegisterPlugin() [12/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  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 944 of file PluginManager.cpp.

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

◆ RegisterPlugin() [13/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
SymbolFileCreateInstance  create_callback,
DebuggerInitializeCallback  debugger_init_callback = nullptr 
)
static

◆ RegisterPlugin() [14/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
SymbolVendorCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [15/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
SystemRuntimeCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [16/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
TraceCreateInstanceForSessionFile  create_callback_for_session_file,
TraceCreateInstanceForLiveProcess  create_callback_for_live_process,
llvm::StringRef  schema 
)
static

◆ RegisterPlugin() [17/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  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 1121 of file PluginManager.cpp.

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

◆ RegisterPlugin() [18/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
TypeSystemCreateInstance  create_callback,
LanguageSet  supported_languages_for_types,
LanguageSet  supported_languages_for_expressions 
)
static

◆ RegisterPlugin() [19/25]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
UnwindAssemblyCreateInstance  create_callback 
)
static

◆ RegisterPlugin() [20/25]

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

◆ RegisterPlugin() [21/25]

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

Definition at line 313 of file PluginManager.cpp.

References GetArchitectureInstances(), and string().

◆ RegisterPlugin() [22/25]

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

◆ RegisterPlugin() [23/25]

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

◆ RegisterPlugin() [24/25]

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

◆ RegisterPlugin() [25/25]

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

◆ SaveCore()

Status PluginManager::SaveCore ( const lldb::ProcessSP &  process_sp,
const FileSpec outfile,
lldb::SaveCoreStyle core_style,
llvm::StringRef  plugin_name 
)
static

◆ Terminate()

void PluginManager::Terminate ( )
static

◆ UnregisterPlugin() [1/25]

bool PluginManager::UnregisterPlugin ( ABICreateInstance  create_callback)
static

◆ UnregisterPlugin() [2/25]

void PluginManager::UnregisterPlugin ( ArchitectureCreateInstance  create_callback)
static

Definition at line 320 of file PluginManager.cpp.

References GetArchitectureInstances().

◆ UnregisterPlugin() [3/25]

bool PluginManager::UnregisterPlugin ( DisassemblerCreateInstance  create_callback)
static

◆ UnregisterPlugin() [4/25]

bool PluginManager::UnregisterPlugin ( DynamicLoaderCreateInstance  create_callback)
static

◆ UnregisterPlugin() [5/25]

bool PluginManager::UnregisterPlugin ( EmulateInstructionCreateInstance  create_callback)
static

◆ UnregisterPlugin() [6/25]

bool PluginManager::UnregisterPlugin ( InstrumentationRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [7/25]

bool PluginManager::UnregisterPlugin ( JITLoaderCreateInstance  create_callback)
static

◆ UnregisterPlugin() [8/25]

bool PluginManager::UnregisterPlugin ( LanguageCreateInstance  create_callback)
static

◆ UnregisterPlugin() [9/25]

bool PluginManager::UnregisterPlugin ( LanguageRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [10/25]

bool PluginManager::UnregisterPlugin ( MemoryHistoryCreateInstance  create_callback)
static

◆ UnregisterPlugin() [11/25]

bool PluginManager::UnregisterPlugin ( ObjectContainerCreateInstance  create_callback)
static

◆ UnregisterPlugin() [12/25]

bool PluginManager::UnregisterPlugin ( ObjectFileCreateInstance  create_callback)
static

◆ UnregisterPlugin() [13/25]

bool PluginManager::UnregisterPlugin ( OperatingSystemCreateInstance  create_callback)
static

◆ UnregisterPlugin() [14/25]

bool PluginManager::UnregisterPlugin ( PlatformCreateInstance  create_callback)
static

◆ UnregisterPlugin() [15/25]

bool PluginManager::UnregisterPlugin ( ProcessCreateInstance  create_callback)
static

◆ UnregisterPlugin() [16/25]

bool PluginManager::UnregisterPlugin ( REPLCreateInstance  create_callback)
static

◆ UnregisterPlugin() [17/25]

bool PluginManager::UnregisterPlugin ( ScriptInterpreterCreateInstance  create_callback)
static

◆ UnregisterPlugin() [18/25]

bool PluginManager::UnregisterPlugin ( StructuredDataPluginCreateInstance  create_callback)
static

◆ UnregisterPlugin() [19/25]

bool PluginManager::UnregisterPlugin ( SymbolFileCreateInstance  create_callback)
static

◆ UnregisterPlugin() [20/25]

bool PluginManager::UnregisterPlugin ( SymbolVendorCreateInstance  create_callback)
static

◆ UnregisterPlugin() [21/25]

bool PluginManager::UnregisterPlugin ( SystemRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [22/25]

bool PluginManager::UnregisterPlugin ( TraceCreateInstanceForSessionFile  create_callback)
static

◆ UnregisterPlugin() [23/25]

bool PluginManager::UnregisterPlugin ( TraceExporterCreateInstance  create_callback)
static

◆ UnregisterPlugin() [24/25]

bool PluginManager::UnregisterPlugin ( TypeSystemCreateInstance  create_callback)
static

◆ UnregisterPlugin() [25/25]

bool PluginManager::UnregisterPlugin ( UnwindAssemblyCreateInstance  create_callback)
static

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