================ @@ -470,6 +470,18 @@ class Thread : public std::enable_shared_from_this<Thread>, virtual void ClearStackFrames(); + /// Derived classes implementing SetBackingThread should use this to provide + /// bidirectional access to the Backing-Backed relationship. + void SetBackedThread(Thread &backed_thread) { ---------------- felipepiovezan wrote:
Good point, this also addresses my concern of people calling `SetBackedThread` without also calling `SetBackingThread`. Will update. https://github.com/llvm/llvm-project/pull/125300 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits