================
@@ -690,6 +678,102 @@ class PluginManager {
   static bool CreateSettingForCPlusPlusLanguagePlugin(
       Debugger &debugger, const lldb::OptionValuePropertiesSP &properties_sp,
       llvm::StringRef description, bool is_global_property);
+
+  //
+  // Plugin Info+Enable Declarations
+  //
+  static std::vector<RegisteredPluginInfo> GetABIPluginInfo();
----------------
dmpots wrote:

I moved all of the declarations to support list/enable/disable to the same 
location to make it easy to generate the code from a script. I can intersperse 
these back with their respective plugin locations if desired.

The code was generated with 
https://gist.github.com/dmpots/caca58fbb45b8c0f63b19553c5402611.

We talked 
[previously](https://github.com/llvm/llvm-project/pull/134418#discussion_r2029164327)
 about doing a dynamic registration. I poked around a bit in the td file, but 
nothing obvious jumped out without a bit of work and I wasn't sure it was worth 
the effort. 

I'm happy to discuss alternatives here about how to do the dynamic registration.

https://github.com/llvm/llvm-project/pull/143970
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to