As part of the cleanup when a process dies, tell watchpoints to forget their previous...
authorEnrico Granata <egranata@apple.com>
Wed, 11 Feb 2015 00:37:54 +0000 (00:37 +0000)
committerEnrico Granata <egranata@apple.com>
Wed, 11 Feb 2015 00:37:54 +0000 (00:37 +0000)
commit5e3fe047cd9300c096e6006294e25c60b526ee83
treef1fda50bacd1458a25a41706b18fd27691174b63
parent94b7231740de045537e21cd9c1893e09f122b5b2
As part of the cleanup when a process dies, tell watchpoints to forget their previously recorded values

Because types are not reliably protected against the death of their owners, having ValueObjects lurking around like that past the useful lifetime of their owner processes is a potential source of crashes
That is - in itself - worth fixing at some point, but for this case, watchpoints holding on to old values don't offer enough value to make the larger fix worth

Fixes rdar://19788756

llvm-svn: 228777
lldb/include/lldb/Breakpoint/Watchpoint.h
lldb/include/lldb/Target/Target.h
lldb/include/lldb/Utility/SharingPtr.h
lldb/source/Target/Target.cpp