================
@@ -236,6 +236,27 @@ void 
TargetStats::IncreaseSourceRealpathCompatibleCount(uint32_t count) {
 
 bool DebuggerStats::g_collecting_stats = false;
 
+void DebuggerStats::ResetStatistics(Debugger &debugger, Target *target) {
+  const uint64_t num_modules = target != nullptr
----------------
clayborg wrote:

Need to lock the `Module::GetAllocationModuleCollectionMutex()` when using the 
Module static calls for the global module list.

https://github.com/llvm/llvm-project/pull/113723
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to