================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to