diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-04-04 20:43:47 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-04-04 20:43:47 +0000 |
| commit | 0b88d815e33a033ae0e76ddba347a49b352c2df5 (patch) | |
| tree | d739dc90deb0181506599426f29dd37f9012ba5a /llvm/lib | |
| parent | 747ff7e1940142eaf2e5c4515fe1a14af9e1ac64 (diff) | |
| download | bcm5719-llvm-0b88d815e33a033ae0e76ddba347a49b352c2df5.tar.gz bcm5719-llvm-0b88d815e33a033ae0e76ddba347a49b352c2df5.zip | |
<rdar://problem/11184458>
Found an issue where we might still have shared pointer references to lldb_private::Thread objects where the object itself is not valid and has been removed from the Process. When a thread is removed from a process, it will call Thread::DestroyThread() which well set a boolean member variable which is exposed now via:
bool
Thread::IsValid() const;
We then check the thread validity before handing out a shared pointer.
llvm-svn: 154048
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

