[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
Fri Aug 14 06:58:25 PDT 2026


================
@@ -27,8 +28,11 @@ class RegisterType {
 
   RegisterTypeKind getKind() const { return m_kind; }
 
-  RegisterType(RegisterTypeKind kind, std::string id)
-      : m_kind(kind), m_id(std::move(id)) {}
+  RegisterType(RegisterTypeKind kind, std::string id);
+  RegisterType(const RegisterType &) = delete;
+  RegisterType &operator=(const RegisterType &) = delete;
+  RegisterType(RegisterType &&) = delete;
+  RegisterType &operator=(RegisterType &&) = delete;
----------------
DavidSpickett wrote:

Oh of course yes, that makes sense.

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


More information about the lldb-commits mailing list