diff options
author | Pavel Labath <labath@google.com> | 2017-03-01 10:08:48 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-03-01 10:08:48 +0000 |
commit | c5789434ff0692d261c858664283d9231228bec7 (patch) | |
tree | c94887ffc12889959cfe5333953af0238e933240 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 197b65c7b8238a095b1ec4875b1ceca8bff3ce9a (diff) | |
download | bcm5719-llvm-c5789434ff0692d261c858664283d9231228bec7.tar.gz bcm5719-llvm-c5789434ff0692d261c858664283d9231228bec7.zip |
Switch SBBreakpointLocation to use a weak_ptr
llvm-svn: 296594
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py index a5bf5db1736..4bd4781c7ef 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py @@ -69,6 +69,9 @@ class BreakpointAPITestCase(TestBase): self.assertTrue(breakpoint and breakpoint.GetNumLocations() == 1, VALID_BREAKPOINT) + location = breakpoint.GetLocationAtIndex(0) + self.assertTrue(location.IsValid()) self.assertTrue(self.dbg.DeleteTarget(target)) self.assertFalse(breakpoint.IsValid()) + self.assertFalse(location.IsValid()) |