================
@@ -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.
----------------
JDevlieghere wrote:
Should this be `if (!IsActive())`?
https://github.com/llvm/llvm-project/pull/95586
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits