[Lldb-commits] [lldb] Remove raw access to PluginInstances vector (PR #132884)

2025-03-24 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: David Peixotto (dmpots) Changes This commit modifies the PluginInstances class to remove direct access to the m_instances vector. Instead, we expose a new `ForEachEnabledPlugin` method that takes a callback to operate on each plugin. All e

[Lldb-commits] [lldb] Remove raw access to PluginInstances vector (PR #132884)

2025-03-24 Thread David Peixotto via lldb-commits
dmpots wrote: This PR is the first of a [series](https://github.com/llvm/llvm-project/pull/132876) of commits to implement a generic way to enable/disable plugins. The linked draft PR provides more context about how these changes work to allow plugin enable/disable. https://github.com/llvm/ll

[Lldb-commits] [lldb] Remove raw access to PluginInstances vector (PR #132884)

2025-03-24 Thread David Peixotto via lldb-commits
https://github.com/dmpots created https://github.com/llvm/llvm-project/pull/132884 This commit modifies the PluginInstances class to remove direct access to the m_instances vector. Instead, we expose a new `ForEachEnabledPlugin` method that takes a callback to operate on each plugin. All exter