summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/watchpoint
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-02-28 12:32:45 +0000
committerPavel Labath <labath@google.com>2017-02-28 12:32:45 +0000
commit7a1d34bec08f6735cd43c9a486136bc0bab1d171 (patch)
tree856c027013c60070b6b6b5e0cfd19ca28251f465 /lldb/packages/Python/lldbsuite/test/python_api/watchpoint
parent5b8514559ed060aef2cfea716ce47547c3b46d4a (diff)
downloadbcm5719-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.py3
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())
OpenPOWER on IntegriCloud