summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-10-17 15:52:16 +0000
committerPavel Labath <labath@google.com>2017-10-17 15:52:16 +0000
commita5be48b3e0dd9c331ab50e4cbc7bf2b805ffba73 (patch)
tree195bc6a7cc1b1d89ea197968c824aa34287e73be /llvm
parent6ed5c91422e42ff78a38a506069b99c10084cfdd (diff)
downloadbcm5719-llvm-a5be48b3e0dd9c331ab50e4cbc7bf2b805ffba73.tar.gz
bcm5719-llvm-a5be48b3e0dd9c331ab50e4cbc7bf2b805ffba73.zip
Remove shared_pointer from NativeThreadProtocol
Summary: 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. Reviewers: krytarowski, eugene Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D35618 llvm-svn: 316007
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud