[Lldb-commits] [lldb] [LLDB][Part 3] Support enabling/disabling InstrumentationRuntime plugins in an debug session (PR #193334)
via lldb-commits
lldb-commits at lists.llvm.org
Tue May 12 17:18:16 PDT 2026
================
@@ -29,6 +29,9 @@ void InstrumentationRuntime::ModulesDidLoad(
void InstrumentationRuntime::ModulesDidLoad(
lldb_private::ModuleList &module_list) {
+ if (!IsEnabled())
----------------
jimingham wrote:
Is there any likelihood that an instrumentation runtime might want to preserve state across a disable/re-enable? That doesn't seem to me that that would be helpful, especially since you would have an unknown gap of data when it was disabled.
If we don't get anything from preserving the object across a disable, then it does seem cleaner to just delete them.
https://github.com/llvm/llvm-project/pull/193334
More information about the lldb-commits
mailing list