[Lldb-commits] [lldb] [lldb] Cache register types by object UID and register size (PR #215874)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 13 03:23:09 PDT 2026


================
@@ -8,8 +8,18 @@
 
 #include "lldb/Utility/RegisterType.h"
 
+#include <atomic>
+
 using namespace lldb_private;
 
+namespace {
----------------
DavidSpickett wrote:

The coding style prefers statics for this - https://llvm.org/docs/CodingStandards.html#restrict-visibility.

https://github.com/llvm/llvm-project/pull/215874


More information about the lldb-commits mailing list