[Lldb-commits] [lldb] [lldb][progress][NFC] Add groundwork to keep track of progress reports (PR #81026)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 8 13:19:39 PST 2024
================
@@ -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;
----------------
adrian-prantl wrote:
https://llvm.org/doxygen/classllvm_1_1StringMap.html
https://github.com/llvm/llvm-project/pull/81026
More information about the lldb-commits
mailing list