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

#include <PluginManager.h>

Public Types

using ArchitectureCreateInstance = std::unique_ptr< Architecture >(*)(const ArchSpec &)
 

Static Public Member Functions

static void Initialize ()
 
static void Terminate ()
 
static bool RegisterPlugin (ConstString name, const char *description, ABICreateInstance create_callback)
 
static bool UnregisterPlugin (ABICreateInstance create_callback)
 
static ABICreateInstance GetABICreateCallbackAtIndex (uint32_t idx)
 
static ABICreateInstance GetABICreateCallbackForPluginName (ConstString name)
 
static void RegisterPlugin (ConstString name, llvm::StringRef description, ArchitectureCreateInstance create_callback)
 
static void UnregisterPlugin (ArchitectureCreateInstance create_callback)
 
static std::unique_ptr< ArchitectureCreateArchitectureInstance (const ArchSpec &arch)
 
static bool RegisterPlugin (ConstString name, const char *description, DisassemblerCreateInstance create_callback)
 
static bool UnregisterPlugin (DisassemblerCreateInstance create_callback)
 
static DisassemblerCreateInstance GetDisassemblerCreateCallbackAtIndex (uint32_t idx)
 
static DisassemblerCreateInstance GetDisassemblerCreateCallbackForPluginName (ConstString 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 JITLoaderCreateInstance GetJITLoaderCreateCallbackForPluginName (ConstString name)
 
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 (ConstString name, const char *description, OperatingSystemCreateInstance create_callback, DebuggerInitializeCallback debugger_init_callback)
 
static bool UnregisterPlugin (OperatingSystemCreateInstance create_callback)
 
static OperatingSystemCreateInstance GetOperatingSystemCreateCallbackAtIndex (uint32_t idx)
 
static OperatingSystemCreateInstance GetOperatingSystemCreateCallbackForPluginName (ConstString 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 LanguageCreateInstance GetLanguageCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, LanguageRuntimeCreateInstance create_callback, LanguageRuntimeGetCommandObject command_callback=nullptr)
 
static bool UnregisterPlugin (LanguageRuntimeCreateInstance create_callback)
 
static LanguageRuntimeCreateInstance GetLanguageRuntimeCreateCallbackAtIndex (uint32_t idx)
 
static LanguageRuntimeGetCommandObject GetLanguageRuntimeGetCommandObjectAtIndex (uint32_t idx)
 
static LanguageRuntimeCreateInstance GetLanguageRuntimeCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, SystemRuntimeCreateInstance create_callback)
 
static bool UnregisterPlugin (SystemRuntimeCreateInstance create_callback)
 
static SystemRuntimeCreateInstance GetSystemRuntimeCreateCallbackAtIndex (uint32_t idx)
 
static SystemRuntimeCreateInstance GetSystemRuntimeCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *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 ObjectFileCreateInstance GetObjectFileCreateCallbackForPluginName (ConstString name)
 
static ObjectFileCreateMemoryInstance GetObjectFileCreateMemoryCallbackForPluginName (ConstString name)
 
static Status SaveCore (const lldb::ProcessSP &process_sp, const FileSpec &outfile)
 
static bool RegisterPlugin (ConstString name, const char *description, ObjectContainerCreateInstance create_callback, ObjectFileGetModuleSpecifications get_module_specifications)
 
static bool UnregisterPlugin (ObjectContainerCreateInstance create_callback)
 
static ObjectContainerCreateInstance GetObjectContainerCreateCallbackAtIndex (uint32_t idx)
 
static ObjectContainerCreateInstance GetObjectContainerCreateCallbackForPluginName (ConstString name)
 
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 size_t AutoCompletePlatformName (llvm::StringRef partial_name, StringList &matches)
 
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 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 StructuredDataPluginCreateInstance GetStructuredDataPluginCreateCallbackForPluginName (ConstString name)
 
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 SymbolFileCreateInstance GetSymbolFileCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, SymbolVendorCreateInstance create_callback)
 
static bool UnregisterPlugin (SymbolVendorCreateInstance create_callback)
 
static SymbolVendorCreateInstance GetSymbolVendorCreateCallbackAtIndex (uint32_t idx)
 
static SymbolVendorCreateInstance GetSymbolVendorCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, UnwindAssemblyCreateInstance create_callback)
 
static bool UnregisterPlugin (UnwindAssemblyCreateInstance create_callback)
 
static UnwindAssemblyCreateInstance GetUnwindAssemblyCreateCallbackAtIndex (uint32_t idx)
 
static UnwindAssemblyCreateInstance GetUnwindAssemblyCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, MemoryHistoryCreateInstance create_callback)
 
static bool UnregisterPlugin (MemoryHistoryCreateInstance create_callback)
 
static MemoryHistoryCreateInstance GetMemoryHistoryCreateCallbackAtIndex (uint32_t idx)
 
static MemoryHistoryCreateInstance GetMemoryHistoryCreateCallbackForPluginName (ConstString name)
 
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 InstrumentationRuntimeCreateInstance GetInstrumentationRuntimeCreateCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, TypeSystemCreateInstance create_callback, TypeSystemEnumerateSupportedLanguages enumerate_languages_callback)
 
static bool UnregisterPlugin (TypeSystemCreateInstance create_callback)
 
static TypeSystemCreateInstance GetTypeSystemCreateCallbackAtIndex (uint32_t idx)
 
static TypeSystemCreateInstance GetTypeSystemCreateCallbackForPluginName (ConstString name)
 
static TypeSystemEnumerateSupportedLanguages GetTypeSystemEnumerateSupportedLanguagesCallbackAtIndex (uint32_t idx)
 
static TypeSystemEnumerateSupportedLanguages GetTypeSystemEnumerateSupportedLanguagesCallbackForPluginName (ConstString name)
 
static bool RegisterPlugin (ConstString name, const char *description, REPLCreateInstance create_callback, REPLEnumerateSupportedLanguages enumerate_languages_callback)
 
static bool UnregisterPlugin (REPLCreateInstance create_callback)
 
static REPLCreateInstance GetREPLCreateCallbackAtIndex (uint32_t idx)
 
static REPLCreateInstance GetREPLCreateCallbackForPluginName (ConstString name)
 
static REPLEnumerateSupportedLanguages GetREPLEnumerateSupportedLanguagesCallbackAtIndex (uint32_t idx)
 
static REPLEnumerateSupportedLanguages GetREPLSystemEnumerateSupportedLanguagesCallbackForPluginName (ConstString name)
 
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 37 of file PluginManager.h.

Member Typedef Documentation

◆ ArchitectureCreateInstance

Definition at line 56 of file PluginManager.h.

Member Function Documentation

◆ AutoCompletePlatformName()

size_t PluginManager::AutoCompletePlatformName ( llvm::StringRef  partial_name,
StringList matches 
)
static

◆ CreateArchitectureInstance()

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

◆ CreateSettingForDynamicLoaderPlugin()

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

Definition at line 2494 of file PluginManager.cpp.

◆ CreateSettingForJITLoaderPlugin()

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

Definition at line 2558 of file PluginManager.cpp.

References kOperatingSystemPluginName().

◆ 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

Definition at line 2511 of file PluginManager.cpp.

References GetDebuggerPropertyForPluginsOldStyle().

◆ 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

Definition at line 2606 of file PluginManager.cpp.

◆ CreateSettingForSymbolFilePlugin()

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

Definition at line 2542 of file PluginManager.cpp.

◆ DebuggerInitialize()

void PluginManager::DebuggerInitialize ( Debugger debugger)
static

◆ GetABICreateCallbackAtIndex()

ABICreateInstance PluginManager::GetABICreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 255 of file PluginManager.cpp.

References GetABIInstances(), and GetABIInstancesMutex().

◆ GetABICreateCallbackForPluginName()

ABICreateInstance PluginManager::GetABICreateCallbackForPluginName ( ConstString  name)
static

Definition at line 264 of file PluginManager.cpp.

References GetABIInstances(), and GetABIInstancesMutex().

◆ GetDisassemblerCreateCallbackAtIndex()

DisassemblerCreateInstance PluginManager::GetDisassemblerCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 386 of file PluginManager.cpp.

References GetDisassemblerInstances(), and GetDisassemblerMutex().

◆ GetDisassemblerCreateCallbackForPluginName()

DisassemblerCreateInstance PluginManager::GetDisassemblerCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 395 of file PluginManager.cpp.

References GetDisassemblerInstances(), and GetDisassemblerMutex().

◆ GetDynamicLoaderCreateCallbackAtIndex()

DynamicLoaderCreateInstance PluginManager::GetDynamicLoaderCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 471 of file PluginManager.cpp.

References GetDynamicLoaderInstances(), and GetDynamicLoaderMutex().

◆ GetDynamicLoaderCreateCallbackForPluginName()

DynamicLoaderCreateInstance PluginManager::GetDynamicLoaderCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 480 of file PluginManager.cpp.

References GetDynamicLoaderInstances(), and GetDynamicLoaderMutex().

◆ GetEmulateInstructionCreateCallbackAtIndex()

EmulateInstructionCreateInstance PluginManager::GetEmulateInstructionCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetEmulateInstructionCreateCallbackForPluginName()

EmulateInstructionCreateInstance PluginManager::GetEmulateInstructionCreateCallbackForPluginName ( ConstString  name)
static

◆ GetInstrumentationRuntimeCreateCallbackAtIndex()

InstrumentationRuntimeCreateInstance PluginManager::GetInstrumentationRuntimeCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetInstrumentationRuntimeCreateCallbackForPluginName()

InstrumentationRuntimeCreateInstance PluginManager::GetInstrumentationRuntimeCreateCallbackForPluginName ( ConstString  name)
static

◆ GetInstrumentationRuntimeGetTypeCallbackAtIndex()

InstrumentationRuntimeGetType PluginManager::GetInstrumentationRuntimeGetTypeCallbackAtIndex ( uint32_t  idx)
static

◆ GetJITLoaderCreateCallbackAtIndex()

JITLoaderCreateInstance PluginManager::GetJITLoaderCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 555 of file PluginManager.cpp.

References GetJITLoaderInstances(), and GetJITLoaderMutex().

◆ GetJITLoaderCreateCallbackForPluginName()

JITLoaderCreateInstance PluginManager::GetJITLoaderCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 563 of file PluginManager.cpp.

References GetJITLoaderInstances(), and GetJITLoaderMutex().

◆ GetLanguageCreateCallbackAtIndex()

LanguageCreateInstance PluginManager::GetLanguageCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 799 of file PluginManager.cpp.

References GetLanguageInstances(), and GetLanguageMutex().

◆ GetLanguageCreateCallbackForPluginName()

LanguageCreateInstance PluginManager::GetLanguageCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 808 of file PluginManager.cpp.

References GetLanguageInstances(), and GetLanguageMutex().

◆ GetLanguageRuntimeCreateCallbackAtIndex()

LanguageRuntimeCreateInstance PluginManager::GetLanguageRuntimeCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetLanguageRuntimeCreateCallbackForPluginName()

LanguageRuntimeCreateInstance PluginManager::GetLanguageRuntimeCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 899 of file PluginManager.cpp.

References GetLanguageRuntimeInstances(), and GetLanguageRuntimeMutex().

◆ GetLanguageRuntimeGetCommandObjectAtIndex()

LanguageRuntimeGetCommandObject PluginManager::GetLanguageRuntimeGetCommandObjectAtIndex ( uint32_t  idx)
static

◆ GetMemoryHistoryCreateCallbackAtIndex()

MemoryHistoryCreateInstance PluginManager::GetMemoryHistoryCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1947 of file PluginManager.cpp.

References GetMemoryHistoryInstances(), and GetMemoryHistoryMutex().

◆ GetMemoryHistoryCreateCallbackForPluginName()

MemoryHistoryCreateInstance PluginManager::GetMemoryHistoryCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1956 of file PluginManager.cpp.

References GetMemoryHistoryInstances(), and GetMemoryHistoryMutex().

◆ GetObjectContainerCreateCallbackAtIndex()

ObjectContainerCreateInstance PluginManager::GetObjectContainerCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1197 of file PluginManager.cpp.

References GetObjectContainerInstances(), and GetObjectContainerMutex().

◆ GetObjectContainerCreateCallbackForPluginName()

ObjectContainerCreateInstance PluginManager::GetObjectContainerCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1206 of file PluginManager.cpp.

References GetObjectContainerInstances(), and GetObjectContainerMutex().

◆ GetObjectContainerGetModuleSpecificationsCallbackAtIndex()

ObjectFileGetModuleSpecifications PluginManager::GetObjectContainerGetModuleSpecificationsCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1222 of file PluginManager.cpp.

References GetObjectContainerInstances(), and GetObjectContainerMutex().

◆ GetObjectFileCreateCallbackAtIndex()

ObjectFileCreateInstance PluginManager::GetObjectFileCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1061 of file PluginManager.cpp.

References GetObjectFileInstances(), and GetObjectFileMutex().

◆ GetObjectFileCreateCallbackForPluginName()

ObjectFileCreateInstance PluginManager::GetObjectFileCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1089 of file PluginManager.cpp.

References GetObjectFileInstances(), and GetObjectFileMutex().

◆ GetObjectFileCreateMemoryCallbackAtIndex()

ObjectFileCreateMemoryInstance PluginManager::GetObjectFileCreateMemoryCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1070 of file PluginManager.cpp.

References GetObjectFileInstances(), and GetObjectFileMutex().

◆ GetObjectFileCreateMemoryCallbackForPluginName()

ObjectFileCreateMemoryInstance PluginManager::GetObjectFileCreateMemoryCallbackForPluginName ( ConstString  name)
static

Definition at line 1105 of file PluginManager.cpp.

References GetObjectFileInstances(), and GetObjectFileMutex().

◆ GetObjectFileGetModuleSpecificationsCallbackAtIndex()

ObjectFileGetModuleSpecifications PluginManager::GetObjectFileGetModuleSpecificationsCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1079 of file PluginManager.cpp.

References GetObjectFileInstances(), and GetObjectFileMutex().

◆ GetOperatingSystemCreateCallbackAtIndex()

OperatingSystemCreateInstance PluginManager::GetOperatingSystemCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 720 of file PluginManager.cpp.

References GetOperatingSystemInstances(), and GetOperatingSystemMutex().

◆ GetOperatingSystemCreateCallbackForPluginName()

OperatingSystemCreateInstance PluginManager::GetOperatingSystemCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 729 of file PluginManager.cpp.

References GetOperatingSystemInstances(), and GetOperatingSystemMutex().

◆ GetPlatformCreateCallbackAtIndex()

PlatformCreateInstance PluginManager::GetPlatformCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1309 of file PluginManager.cpp.

References GetPlatformInstances(), and GetPlatformInstancesMutex().

◆ GetPlatformCreateCallbackForPluginName()

PlatformCreateInstance PluginManager::GetPlatformCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1318 of file PluginManager.cpp.

References GetPlatformInstances(), and GetPlatformInstancesMutex().

◆ GetPlatformPluginDescriptionAtIndex()

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

Definition at line 1284 of file PluginManager.cpp.

References GetPlatformInstances(), and GetPlatformInstancesMutex().

◆ GetPlatformPluginNameAtIndex()

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

Definition at line 1276 of file PluginManager.cpp.

References GetPlatformInstances(), and GetPlatformInstancesMutex().

◆ GetProcessCreateCallbackAtIndex()

ProcessCreateInstance PluginManager::GetProcessCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1426 of file PluginManager.cpp.

References GetProcessInstances(), and GetProcessMutex().

Referenced by lldb_private::Process::FindPlugin().

◆ GetProcessCreateCallbackForPluginName()

ProcessCreateInstance PluginManager::GetProcessCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1435 of file PluginManager.cpp.

References GetProcessInstances(), and GetProcessMutex().

Referenced by lldb_private::Process::FindPlugin().

◆ GetProcessPluginDescriptionAtIndex()

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

Definition at line 1401 of file PluginManager.cpp.

References GetProcessInstances(), and GetProcessMutex().

◆ GetProcessPluginNameAtIndex()

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

Definition at line 1393 of file PluginManager.cpp.

References GetProcessInstances(), and GetProcessMutex().

◆ GetREPLCreateCallbackAtIndex()

REPLCreateInstance PluginManager::GetREPLCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 2238 of file PluginManager.cpp.

References GetREPLInstances(), and GetREPLMutex().

Referenced by lldb_private::REPL::Create().

◆ GetREPLCreateCallbackForPluginName()

REPLCreateInstance PluginManager::GetREPLCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 2247 of file PluginManager.cpp.

References GetREPLInstances(), and GetREPLMutex().

◆ GetREPLEnumerateSupportedLanguagesCallbackAtIndex()

REPLEnumerateSupportedLanguages PluginManager::GetREPLEnumerateSupportedLanguagesCallbackAtIndex ( uint32_t  idx)
static

Definition at line 2262 of file PluginManager.cpp.

References GetREPLInstances(), and GetREPLMutex().

◆ GetREPLSystemEnumerateSupportedLanguagesCallbackForPluginName()

REPLEnumerateSupportedLanguages PluginManager::GetREPLSystemEnumerateSupportedLanguagesCallbackForPluginName ( ConstString  name)
static

Definition at line 2271 of file PluginManager.cpp.

References GetREPLInstances(), and GetREPLMutex().

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

◆ GetSettingForJITLoaderPlugin()

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

Definition at line 2552 of file PluginManager.cpp.

◆ GetSettingForOperatingSystemPlugin()

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

◆ GetSettingForPlatformPlugin()

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

Definition at line 2504 of file PluginManager.cpp.

References GetDebuggerPropertyForPluginsOldStyle().

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

◆ GetSettingForSymbolFilePlugin()

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

Definition at line 2536 of file PluginManager.cpp.

◆ GetStructuredDataFilterCallbackAtIndex()

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

◆ GetStructuredDataPluginCreateCallbackAtIndex()

StructuredDataPluginCreateInstance PluginManager::GetStructuredDataPluginCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetStructuredDataPluginCreateCallbackForPluginName()

StructuredDataPluginCreateInstance PluginManager::GetStructuredDataPluginCreateCallbackForPluginName ( ConstString  name)
static

◆ GetSymbolFileCreateCallbackAtIndex()

SymbolFileCreateInstance PluginManager::GetSymbolFileCreateCallbackAtIndex ( uint32_t  idx)
static

◆ GetSymbolFileCreateCallbackForPluginName()

SymbolFileCreateInstance PluginManager::GetSymbolFileCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1716 of file PluginManager.cpp.

References GetSymbolFileInstances(), and GetSymbolFileMutex().

◆ GetSymbolVendorCreateCallbackAtIndex()

SymbolVendorCreateInstance PluginManager::GetSymbolVendorCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1787 of file PluginManager.cpp.

References GetSymbolVendorInstances(), and GetSymbolVendorMutex().

◆ GetSymbolVendorCreateCallbackForPluginName()

SymbolVendorCreateInstance PluginManager::GetSymbolVendorCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1796 of file PluginManager.cpp.

References GetSymbolVendorInstances(), and GetSymbolVendorMutex().

◆ GetSystemRuntimeCreateCallbackAtIndex()

SystemRuntimeCreateInstance PluginManager::GetSystemRuntimeCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 970 of file PluginManager.cpp.

References GetSystemRuntimeInstances(), and GetSystemRuntimeMutex().

◆ GetSystemRuntimeCreateCallbackForPluginName()

SystemRuntimeCreateInstance PluginManager::GetSystemRuntimeCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 979 of file PluginManager.cpp.

References GetSystemRuntimeInstances(), and GetSystemRuntimeMutex().

◆ GetTypeSystemCreateCallbackAtIndex()

TypeSystemCreateInstance PluginManager::GetTypeSystemCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 2131 of file PluginManager.cpp.

References GetTypeSystemInstances(), and GetTypeSystemMutex().

Referenced by CreateInstanceHelper().

◆ GetTypeSystemCreateCallbackForPluginName()

TypeSystemCreateInstance PluginManager::GetTypeSystemCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 2140 of file PluginManager.cpp.

References GetTypeSystemInstances(), and GetTypeSystemMutex().

◆ GetTypeSystemEnumerateSupportedLanguagesCallbackAtIndex()

TypeSystemEnumerateSupportedLanguages PluginManager::GetTypeSystemEnumerateSupportedLanguagesCallbackAtIndex ( uint32_t  idx)
static

Definition at line 2156 of file PluginManager.cpp.

References GetTypeSystemInstances(), and GetTypeSystemMutex().

◆ GetTypeSystemEnumerateSupportedLanguagesCallbackForPluginName()

TypeSystemEnumerateSupportedLanguages PluginManager::GetTypeSystemEnumerateSupportedLanguagesCallbackForPluginName ( ConstString  name)
static

Definition at line 2166 of file PluginManager.cpp.

References GetTypeSystemInstances(), and GetTypeSystemMutex().

◆ GetUnwindAssemblyCreateCallbackAtIndex()

UnwindAssemblyCreateInstance PluginManager::GetUnwindAssemblyCreateCallbackAtIndex ( uint32_t  idx)
static

Definition at line 1867 of file PluginManager.cpp.

References GetUnwindAssemblyInstances(), and GetUnwindAssemblyMutex().

◆ GetUnwindAssemblyCreateCallbackForPluginName()

UnwindAssemblyCreateInstance PluginManager::GetUnwindAssemblyCreateCallbackForPluginName ( ConstString  name)
static

Definition at line 1876 of file PluginManager.cpp.

References GetUnwindAssemblyInstances(), and GetUnwindAssemblyMutex().

◆ Initialize()

void PluginManager::Initialize ( )
static

◆ RegisterPlugin() [1/23]

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

◆ RegisterPlugin() [2/23]

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

Definition at line 298 of file PluginManager.cpp.

References GetArchitectureInstances(), and GetArchitectureMutex().

◆ RegisterPlugin() [3/23]

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

◆ RegisterPlugin() [4/23]

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

◆ RegisterPlugin() [5/23]

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

◆ RegisterPlugin() [6/23]

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

◆ RegisterPlugin() [7/23]

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

◆ RegisterPlugin() [8/23]

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

◆ RegisterPlugin() [9/23]

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

◆ RegisterPlugin() [10/23]

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

◆ RegisterPlugin() [11/23]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
ObjectFileCreateInstance  create_callback,
ObjectFileCreateMemoryInstance  create_memory_callback,
ObjectFileGetModuleSpecifications  get_module_specifications,
ObjectFileSaveCore  save_core = nullptr 
)
static

◆ RegisterPlugin() [12/23]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
ObjectContainerCreateInstance  create_callback,
ObjectFileGetModuleSpecifications  get_module_specifications 
)
static

◆ RegisterPlugin() [13/23]

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

◆ RegisterPlugin() [14/23]

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

◆ RegisterPlugin() [15/23]

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

◆ RegisterPlugin() [16/23]

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

References StructuredDataPluginInstance::create_callback, StructuredDataPluginInstance::debugger_init_callback, StructuredDataPluginInstance::description, StructuredDataPluginInstance::filter_callback, GetStructuredDataPluginInstances(), GetStructuredDataPluginMutex(), and StructuredDataPluginInstance::name.

◆ RegisterPlugin() [17/23]

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

◆ RegisterPlugin() [18/23]

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

◆ RegisterPlugin() [19/23]

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

◆ RegisterPlugin() [20/23]

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

◆ RegisterPlugin() [21/23]

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

◆ RegisterPlugin() [22/23]

bool PluginManager::RegisterPlugin ( ConstString  name,
const char *  description,
TypeSystemCreateInstance  create_callback,
TypeSystemEnumerateSupportedLanguages  enumerate_languages_callback 
)
static

◆ RegisterPlugin() [23/23]

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

◆ SaveCore()

Status PluginManager::SaveCore ( const lldb::ProcessSP &  process_sp,
const FileSpec outfile 
)
static

◆ Terminate()

void PluginManager::Terminate ( )
static

◆ UnregisterPlugin() [1/23]

bool PluginManager::UnregisterPlugin ( ABICreateInstance  create_callback)
static

◆ UnregisterPlugin() [2/23]

void PluginManager::UnregisterPlugin ( ArchitectureCreateInstance  create_callback)
static

Definition at line 305 of file PluginManager.cpp.

References GetArchitectureInstances(), and GetArchitectureMutex().

◆ UnregisterPlugin() [3/23]

bool PluginManager::UnregisterPlugin ( DisassemblerCreateInstance  create_callback)
static

Definition at line 368 of file PluginManager.cpp.

References GetDisassemblerInstances(), and GetDisassemblerMutex().

◆ UnregisterPlugin() [4/23]

bool PluginManager::UnregisterPlugin ( DynamicLoaderCreateInstance  create_callback)
static

Definition at line 453 of file PluginManager.cpp.

References GetDynamicLoaderInstances(), and GetDynamicLoaderMutex().

◆ UnregisterPlugin() [5/23]

bool PluginManager::UnregisterPlugin ( JITLoaderCreateInstance  create_callback)
static

Definition at line 538 of file PluginManager.cpp.

References GetJITLoaderInstances(), and GetJITLoaderMutex().

◆ UnregisterPlugin() [6/23]

bool PluginManager::UnregisterPlugin ( EmulateInstructionCreateInstance  create_callback)
static

◆ UnregisterPlugin() [7/23]

bool PluginManager::UnregisterPlugin ( OperatingSystemCreateInstance  create_callback)
static

Definition at line 702 of file PluginManager.cpp.

References GetOperatingSystemInstances(), and GetOperatingSystemMutex().

◆ UnregisterPlugin() [8/23]

bool PluginManager::UnregisterPlugin ( LanguageCreateInstance  create_callback)
static

Definition at line 782 of file PluginManager.cpp.

References GetLanguageInstances(), and GetLanguageMutex().

◆ UnregisterPlugin() [9/23]

bool PluginManager::UnregisterPlugin ( LanguageRuntimeCreateInstance  create_callback)
static

Definition at line 863 of file PluginManager.cpp.

References GetLanguageRuntimeInstances(), and GetLanguageRuntimeMutex().

◆ UnregisterPlugin() [10/23]

bool PluginManager::UnregisterPlugin ( SystemRuntimeCreateInstance  create_callback)
static

Definition at line 952 of file PluginManager.cpp.

References GetSystemRuntimeInstances(), and GetSystemRuntimeMutex().

◆ UnregisterPlugin() [11/23]

bool PluginManager::UnregisterPlugin ( ObjectFileCreateInstance  create_callback)
static

Definition at line 1044 of file PluginManager.cpp.

References GetObjectFileInstances(), and GetObjectFileMutex().

◆ UnregisterPlugin() [12/23]

bool PluginManager::UnregisterPlugin ( ObjectContainerCreateInstance  create_callback)
static

Definition at line 1179 of file PluginManager.cpp.

References GetObjectContainerInstances(), and GetObjectContainerMutex().

◆ UnregisterPlugin() [13/23]

bool PluginManager::UnregisterPlugin ( PlatformCreateInstance  create_callback)
static

Definition at line 1292 of file PluginManager.cpp.

References GetPlatformInstances(), and GetPlatformInstancesMutex().

◆ UnregisterPlugin() [14/23]

bool PluginManager::UnregisterPlugin ( ProcessCreateInstance  create_callback)
static

Definition at line 1409 of file PluginManager.cpp.

References GetProcessInstances(), and GetProcessMutex().

◆ UnregisterPlugin() [15/23]

bool PluginManager::UnregisterPlugin ( ScriptInterpreterCreateInstance  create_callback)
static

◆ UnregisterPlugin() [16/23]

bool PluginManager::UnregisterPlugin ( StructuredDataPluginCreateInstance  create_callback)
static

◆ UnregisterPlugin() [17/23]

bool PluginManager::UnregisterPlugin ( SymbolFileCreateInstance  create_callback)
static

Definition at line 1690 of file PluginManager.cpp.

References GetSymbolFileInstances(), and GetSymbolFileMutex().

◆ UnregisterPlugin() [18/23]

bool PluginManager::UnregisterPlugin ( SymbolVendorCreateInstance  create_callback)
static

Definition at line 1769 of file PluginManager.cpp.

References GetSymbolVendorInstances(), and GetSymbolVendorMutex().

◆ UnregisterPlugin() [19/23]

bool PluginManager::UnregisterPlugin ( UnwindAssemblyCreateInstance  create_callback)
static

Definition at line 1849 of file PluginManager.cpp.

References GetUnwindAssemblyInstances(), and GetUnwindAssemblyMutex().

◆ UnregisterPlugin() [20/23]

bool PluginManager::UnregisterPlugin ( MemoryHistoryCreateInstance  create_callback)
static

Definition at line 1929 of file PluginManager.cpp.

References GetMemoryHistoryInstances(), and GetMemoryHistoryMutex().

◆ UnregisterPlugin() [21/23]

bool PluginManager::UnregisterPlugin ( InstrumentationRuntimeCreateInstance  create_callback)
static

◆ UnregisterPlugin() [22/23]

bool PluginManager::UnregisterPlugin ( TypeSystemCreateInstance  create_callback)
static

Definition at line 2114 of file PluginManager.cpp.

References GetTypeSystemInstances(), and GetTypeSystemMutex().

◆ UnregisterPlugin() [23/23]

bool PluginManager::UnregisterPlugin ( REPLCreateInstance  create_callback)
static

Definition at line 2222 of file PluginManager.cpp.

References GetREPLInstances(), and GetREPLMutex().


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