mgorny added a comment.

In D100256#2685632 <https://reviews.llvm.org/D100256#2685632>, @labath wrote:

> Does this actually need to be a function? It seems like this could just be a 
> pointer variable (or two), pointing into our pool of processes. I'd consider 
> making a small struct to group the current process and the current thread 
> within that process.

I suppose a pointer might work for the proposed design. However, I'm wondering 
why we have the `GetID()` check here — can we have an invalid value of 
`m_debugged_process_up` then?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100256/new/

https://reviews.llvm.org/D100256

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to