diff options
author | Jim Ingham <jingham@apple.com> | 2019-02-22 23:54:11 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2019-02-22 23:54:11 +0000 |
commit | bac29fde53b9f2ef7a96b8aedaec4db0f275ae24 (patch) | |
tree | d007b6f649acf1c5259fd14a039f1cde2c073b92 /lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py | |
parent | 9af9ab47b73392f5803743e947ab4caedfc85b17 (diff) | |
download | bcm5719-llvm-bac29fde53b9f2ef7a96b8aedaec4db0f275ae24.tar.gz bcm5719-llvm-bac29fde53b9f2ef7a96b8aedaec4db0f275ae24.zip |
When deserializing breakpoints some options may not be present.
The deserializer was not handling this case. For now we just
accept the absent option, and set it to the breakpoint default.
This will be more important if/when I figure out how to serialize
the options set on breakpont locations.
<rdar://problem/48322664>
llvm-svn: 354702
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py index 943998a421b..e84cbf48654 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py @@ -17,6 +17,7 @@ from lldbsuite.test import lldbutil class BreakpointSerialization(TestBase): mydir = TestBase.compute_mydir(__file__) + NO_DEBUG_INFO_TESTCASE = True @add_test_categories(['pyapi']) def test_resolvers(self): @@ -196,6 +197,11 @@ class BreakpointSerialization(TestBase): bkpt.SetThreadName("grubby") source_bps.Append(bkpt) + bkpt = self.orig_target.BreakpointCreateByName("blubby", lldb.eFunctionNameTypeAuto, empty_module_list, empty_cu_list) + bkpt.SetCondition("gonna remove this") + bkpt.SetCondition("") + source_bps.Append(bkpt) + bkpt = self.orig_target.BreakpointCreateByName("blubby", lldb.eFunctionNameTypeFull, empty_module_list,empty_cu_list) bkpt.SetCondition("something != something_else") bkpt.SetQueueName("grubby") |