================ @@ -9,26 +9,34 @@ #include "lldb/Core/Progress.h" #include "lldb/Core/Debugger.h" -#include "lldb/Utility/StreamString.h" #include <optional> using namespace lldb; using namespace lldb_private; std::atomic<uint64_t> Progress::g_id(0); +std::atomic<uint64_t> Progress::g_refcount(1); +std::unordered_map<std::string, uint64_t> Progress::g_map = {}; ---------------- chelcassanova wrote:
This is much better implementation of using a global map, but if we go with having the map being kept track of in each debugger object we might not need to have this implementation of a global map anymore. 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