================
@@ -82,6 +82,46 @@ struct PluginNamespace {
   SetPluginEnabled set_enabled;
 };
 
+struct InstrumentationRuntimeCallbacks {
+  InstrumentationRuntimeCreateInstance create_callback;
+  InstrumentationRuntimeGetType get_type_callback;
+};
+
+struct LanguageRuntimeCallbacks {
+  LanguageRuntimeCreateInstance create_callback;
+  LanguageRuntimeGetCommandObject command_callback;
+  LanguageRuntimeGetExceptionPrecondition precondition_callback;
+};
+
+struct ObjectFileCallbacks {
+  ObjectFileCreateInstance create_callback;
+  ObjectFileCreateMemoryInstance create_memory_callback;
+  ObjectFileGetModuleSpecifications get_module_specifications;
+  ObjectFileSaveCore save_core;
+};
+
+struct ObjectContainerCallbacks {
+  ObjectContainerCreateInstance create_callback;
+  ObjectContainerCreateMemoryInstance create_memory_callback;
+  ObjectFileGetModuleSpecifications get_module_specifications;
+};
+
+struct StructuredDataPluginCallbacks {
+  StructuredDataPluginCreateInstance create_callback;
+  StructuredDataFilterLaunchInfo filter_callback; // may be null
----------------
bulbazord wrote:

The comment on this line is interesting. Which other callbacks are allowed to 
be null?

https://github.com/llvm/llvm-project/pull/184837
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to