diff options
author | Pavel Labath <labath@google.com> | 2017-02-28 12:32:45 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-02-28 12:32:45 +0000 |
commit | 7a1d34bec08f6735cd43c9a486136bc0bab1d171 (patch) | |
tree | 856c027013c60070b6b6b5e0cfd19ca28251f465 /lldb/packages/Python/lldbsuite/test/python_api/watchpoint | |
parent | 5b8514559ed060aef2cfea716ce47547c3b46d4a (diff) | |
download | bcm5719-llvm-7a1d34bec08f6735cd43c9a486136bc0bab1d171.tar.gz bcm5719-llvm-7a1d34bec08f6735cd43c9a486136bc0bab1d171.zip |
Switch SBWatchpoint to use a weak_ptr to the underlying object
llvm-svn: 296470
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/watchpoint')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py index e4f2c5c7a18..bc925ee693d 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py @@ -108,3 +108,6 @@ class SetWatchpointAPITestCase(TestBase): self.assertTrue( process.GetState() == lldb.eStateExited, PROCESS_EXITED) + + self.dbg.DeleteTarget(target) + self.assertFalse(watchpoint.IsValid()) |