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

David Peixotto via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 27 10:26:06 PDT 2025


dmpots wrote:

> Alright, let's go with the copy. Unless you think the `enabled` property might change while we're iterating over the plugins, we should be able to store it in the PluginInstance. AFAIK, the instance itself is never stored away.

Sounds good. That seems to be the simplest solution and should work with the current use cases. We can always revisit later if needed.

I'll prepare a new patch and update this PR.

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


More information about the lldb-commits mailing list