[Lldb-commits] [lldb] New ThreadPlanSingleThreadTimeout to resolve potential deadlock in single thread stepping (PR #90930)

via lldb-commits lldb-commits at lists.llvm.org
Wed May 15 17:55:51 PDT 2024


================
@@ -590,6 +591,7 @@ class ThreadPlanNull : public ThreadPlan {
   const Status &GetStatus() { return m_status; }
 
 protected:
+  friend class ThreadPlanSingleThreadTimeout;
----------------
jimingham wrote:

What is this needed for?  It's a little odd having a derived class friended to the base class, since you could make whatever the derived class needed protected rather than private.

https://github.com/llvm/llvm-project/pull/90930


More information about the lldb-commits mailing list