================ @@ -99,6 +105,10 @@ class Progress { private: void ReportProgress(); static std::atomic<uint64_t> g_id; + static std::atomic<uint64_t> g_refcount; + /// Map that tracks each progress object and if we've seen its start and stop + /// events + static std::unordered_map<std::string, uint64_t> g_map; ---------------- clayborg wrote:
Correct. Because we have to just in case the debugger pointer was set in the Progress, so we have to track it in each debugger just in case. https://github.com/llvm/llvm-project/pull/81026 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits