================
@@ -47,13 +51,17 @@ class RegisterType {
 
   const std::string &GetID() const { return m_id; }
 
+  /// Return an identifier unique for the lifetime of this debugger process.
----------------
DavidSpickett wrote:

RegisterTypes are made in two places:
* The GDB remote process where the XML is parsed.
* The type detector.

So is this m_uid going to be unique for the lifetime of one or both of those, 
or is "debugger process" a different lifetime?

And what's an example of that lifetime ending?

For example if the lifetime is the lifetime of the gdb remote process, then 
disconnecting from that remote would destruct the RegisterType. Does m_uid 
apply even after that?

https://github.com/llvm/llvm-project/pull/215874
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to