================
@@ -60,6 +60,8 @@ void InstrumentationRuntime::ModulesDidLoad(
if (CheckIfRuntimeIsValid(module_sp)) {
SetRuntimeModuleSP(module_sp);
Activate();
+ if (IsActive())
+ SetRuntimeModuleSP({}); // Don't cache module if activation failed.
----------------
thetruestblue wrote:
Thanks Jonas. Yes, this should have been amended.
https://github.com/llvm/llvm-project/pull/95586
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits