diff options
Diffstat (limited to 'include/lldb/Core/PluginManager.h')
-rw-r--r-- | include/lldb/Core/PluginManager.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/include/lldb/Core/PluginManager.h b/include/lldb/Core/PluginManager.h index e02f43f4fa8b..a2ac67bf9f25 100644 --- a/include/lldb/Core/PluginManager.h +++ b/include/lldb/Core/PluginManager.h @@ -80,6 +80,24 @@ public: GetDynamicLoaderCreateCallbackForPluginName (const ConstString &name); //------------------------------------------------------------------ + // JITLoader + //------------------------------------------------------------------ + static bool + RegisterPlugin (const ConstString &name, + const char *description, + JITLoaderCreateInstance create_callback, + DebuggerInitializeCallback debugger_init_callback = NULL); + + static bool + UnregisterPlugin (JITLoaderCreateInstance create_callback); + + static JITLoaderCreateInstance + GetJITLoaderCreateCallbackAtIndex (uint32_t idx); + + static JITLoaderCreateInstance + GetJITLoaderCreateCallbackForPluginName (const ConstString &name); + + //------------------------------------------------------------------ // EmulateInstruction //------------------------------------------------------------------ static bool @@ -157,7 +175,8 @@ public: const char *description, ObjectFileCreateInstance create_callback, ObjectFileCreateMemoryInstance create_memory_callback, - ObjectFileGetModuleSpecifications get_module_specifications); + ObjectFileGetModuleSpecifications get_module_specifications, + ObjectFileSaveCore save_core = NULL); static bool UnregisterPlugin (ObjectFileCreateInstance create_callback); @@ -177,6 +196,8 @@ public: static ObjectFileCreateMemoryInstance GetObjectFileCreateMemoryCallbackForPluginName (const ConstString &name); + static Error + SaveCore (const lldb::ProcessSP &process_sp, const FileSpec &outfile); //------------------------------------------------------------------ // ObjectContainer |