[Lldb-commits] [lldb] [lldb] Cache register types by object UID and register size (PR #215874)
Bar Soloveychik via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 14 06:48:27 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;
----------------
barsolo2000 wrote:
They are kinda required to preserve UID uniqueness. the generate dcopy or move op would copy m_uid.
https://github.com/llvm/llvm-project/pull/215874
More information about the lldb-commits
mailing list