[Lldb-commits] [lldb] [lldb] Add support to list/enable/disable remaining plugin types. (PR #143970)

David Peixotto via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 12 14:03:06 PDT 2025


================
@@ -407,7 +569,7 @@ ABICreateInstance PluginManager::GetABICreateCallbackAtIndex(uint32_t idx) {
 #pragma mark Architecture
 
 typedef PluginInstance<ArchitectureCreateInstance> ArchitectureInstance;
-typedef std::vector<ArchitectureInstance> ArchitectureInstances;
+typedef PluginInstances<ArchitectureInstance> ArchitectureInstances;
----------------
dmpots wrote:

The `ArchitectureInstance` plugins were the only ones using a vector instead of the `PluginInstances` wrapper. The `PluginInstances` is need to support enable/disable.

https://github.com/llvm/llvm-project/pull/143970


More information about the lldb-commits mailing list