[Lldb-commits] [PATCH] D35618: Remove shared_pointer from NativeThreadProtocol
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 19 05:43:11 PDT 2017
labath created this revision.
The NativeThread class is useless without the containing process (and in
some places it is already assuming the process is always around). This
makes it clear that the NativeProcessProtocol is the object owning the
threads, and makes the destruction order deterministic (first threads,
then process). The NativeProcess is the only thing holding a thread
unique_ptr, and methods that used to hand out thread shared pointers now
return raw pointers or references.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 48348 bytes
Desc: not available
More information about the lldb-commits