[Lldb-commits] [lldb] [lldb] Fix ThreadList assignment race (PR #98293)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 11 02:39:32 PDT 2024
================
@@ -27,12 +27,13 @@ class ThreadList : public ThreadCollection {
friend class Process;
public:
- ThreadList(Process *process);
+ ThreadList(Process &process);
ThreadList(const ThreadList &rhs);
~ThreadList() override;
+ // Precondition: both thread lists must be belong to the same process.
----------------
labath wrote:
Works for me
https://github.com/llvm/llvm-project/pull/98293
More information about the lldb-commits
mailing list