[Lldb-commits] [lldb] [lldb] Add GDB remote register vector types (PR #217128)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 24 06:07:24 PDT 2026
================
@@ -67,6 +74,54 @@ class RegisterType {
std::vector<const RegisterType *> m_dependencies;
};
+/// A predefined GDB target-description type.
+class RegisterTypeBuiltin : public RegisterType {
+public:
+ /// A byte size of zero means the size is target-dependent.
+ RegisterTypeBuiltin(std::string id, lldb::Encoding encoding,
+ lldb::Format format, uint32_t byte_size);
----------------
DavidSpickett wrote:
Or you can globally define size zero as meaning dynamic in some way.
(though I do prefer nullopt for that use case)
https://github.com/llvm/llvm-project/pull/217128
More information about the lldb-commits
mailing list