================
@@ -8,8 +8,16 @@
#include "lldb/Utility/RegisterType.h"
+#include <atomic>
+
using namespace lldb_private;
+static std::atomic<uint64_t> g_next_register_type_uid{1};
----------------
barsolo2000 wrote:
I started at 1 so that zero remains an obvious invalid value when debugging, it
doesn't matter really
https://github.com/llvm/llvm-project/pull/215874
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits