Home
last modified time | relevance | path

Searched refs:bkpt (Results 1 – 25 of 179) sorted by relevance

12345678

/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/serialize/
H A DTestBreakpointSerialization.py220 bkpt.SetEnabled(False)
221 bkpt.SetOneShot(True)
222 bkpt.SetThreadID(10)
236 bkpt.SetCondition("")
272 bkpt.SetEnabled(False)
273 bkpt.SetOneShot(True)
274 bkpt.SetThreadID(10)
276 all_bps.Append(bkpt)
288 all_bps.Append(bkpt)
297 all_bps.Append(bkpt)
[all …]
H A Dresolver.py7 def __init__(self, bkpt, extra_args, dict): argument
8 self.bkpt = bkpt
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_locations/
H A DTestBreakpointLocations.py59 return bkpt
68 bkpt = self.set_breakpoint()
70 bkpt.SetCondition(bkpt_cond)
72 … self.assertEquals(bkpt.location[0].GetCondition(), bkpt.GetCondition(), "Conditions are the same")
76 bkpt.location[0].SetCondition(bkpt_loc_1_cond)
82 bkpt.SetIgnoreCount(10)
87 bkpt.location[0].SetCondition("")
89 bkpt.SetCondition(bkpt_new_cond)
99 bkpt = self.set_breakpoint()
104 bkpt.SetCommandLineCommands(str_list)
[all …]
/llvm-project-15.0.7/lldb/test/API/commands/process/continue_to_bkpt/
H A DTestContinueToBkpts.py42 if bkpt.MatchesName("disabled"):
43 … self.assertFalse(bkpt.IsEnabled(), "Disabled breakpoints stay disabled: {0}".format(bkpt.GetID()))
45 … self.assertTrue(bkpt.IsEnabled(), "Enabled breakpoints stay enabled: {0}".format(bkpt.GetID()))
50 loc = bkpt.FindLocationByID(i)
71 self.bkpt_list.append(bkpt.GetID())
72 bkpt.AddName(elem)
74 bkpt.AddName("disabled")
75 bkpt.SetEnabled(False)
77 bkpt.AddName("MyBKPT")
108 bkpt = self.bkpt_list[0]
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_names/
H A DTestBreakpointNames.py100 success = bkpt.AddNameWithErrorHandling(bkpt_name)
103 matches = bkpt.MatchesName(bkpt_name)
107 matches = bkpt.MatchesName("NotABreakpoint")
114 bkpt.AddNameWithErrorHandling(other_bkpt_name)
116 matches = bkpt.MatchesName(bkpt_name)
121 bkpt.RemoveName(bkpt_name)
122 matches = bkpt.MatchesName(bkpt_name)
127 bkpt.GetNames(name_list)
161 bkpt_id = bkpt.GetID()
246 self.check_option_values(bkpt)
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/
H A DTestDataFormatterGenericMultiMap.py45 bkpt = self.target().FindBreakpointByID(
77 lldbutil.continue_to_breakpoint(self.process(), bkpt)
83 lldbutil.continue_to_breakpoint(self.process(), bkpt)
96 lldbutil.continue_to_breakpoint(self.process(), bkpt)
109 lldbutil.continue_to_breakpoint(self.process(), bkpt)
152 lldbutil.continue_to_breakpoint(self.process(), bkpt)
162 lldbutil.continue_to_breakpoint(self.process(), bkpt)
170 lldbutil.continue_to_breakpoint(self.process(), bkpt)
209 lldbutil.continue_to_breakpoint(self.process(), bkpt)
215 lldbutil.continue_to_breakpoint(self.process(), bkpt)
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/
H A DTestDataFormatterLibccMap.py31 bkpt = self.target().FindBreakpointByID(
64 lldbutil.continue_to_breakpoint(self.process(), bkpt)
80 lldbutil.continue_to_breakpoint(self.process(), bkpt)
91 lldbutil.continue_to_breakpoint(self.process(), bkpt)
160 lldbutil.continue_to_breakpoint(self.process(), bkpt)
202 lldbutil.continue_to_breakpoint(self.process(), bkpt)
208 lldbutil.continue_to_breakpoint(self.process(), bkpt)
214 lldbutil.continue_to_breakpoint(self.process(), bkpt)
256 lldbutil.continue_to_breakpoint(self.process(), bkpt)
262 lldbutil.continue_to_breakpoint(self.process(), bkpt)
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/auto_continue/
H A DTestBreakpointAutoContinue.py60 bkpt = self.target.FindBreakpointByID(bpno)
61 self.assertEqual(bkpt.GetHitCount(), 2, "Should have run through the breakpoint twice")
68 bkpt = self.target.FindBreakpointByID(bpno)
69 threads = lldbutil.get_threads_stopped_at_breakpoint(process, bkpt)
71 self.assertEqual(bkpt.GetHitCount(), 2, "Should have hit the breakpoint twice")
75 bkpt = self.target.FindBreakpointByID(bpno)
76 bkpt.SetAutoContinue(False)
80 func_name = bkpt.location[i].GetAddress().function.name
82 loc = bkpt.location[i]
89 threads = lldbutil.get_threads_stopped_at_breakpoint(process, bkpt)
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dbkpt.s10 bkpt
13 @ CHECK: bkpt #0
18 bkpt #42
21 @ CHECK: bkpt #42
28 bkpt
31 @ CHECK: bkpt #0
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/
H A DTestDataFormatterLibcxxVector.py51 (self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
72 lldbutil.continue_to_breakpoint(process, bkpt)
81 lldbutil.continue_to_breakpoint(process, bkpt)
114 lldbutil.continue_to_breakpoint(process, bkpt)
119 lldbutil.continue_to_breakpoint(process, bkpt)
124 lldbutil.continue_to_breakpoint(process, bkpt)
158 lldbutil.continue_to_breakpoint(process, bkpt)
169 lldbutil.continue_to_breakpoint(process, bkpt)
178 (self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/
H A DTestDataFormatterGenericSet.py44 (self.target, process, _, bkpt) = lldbutil.run_to_source_breakpoint(
66 lldbutil.continue_to_breakpoint(process, bkpt)
76 lldbutil.continue_to_breakpoint(process, bkpt)
79 lldbutil.continue_to_breakpoint(process, bkpt)
81 lldbutil.continue_to_breakpoint(process, bkpt)
89 lldbutil.continue_to_breakpoint(process, bkpt)
95 lldbutil.continue_to_breakpoint(process, bkpt)
111 lldbutil.continue_to_breakpoint(process, bkpt)
132 (self.target, process, _, bkpt) = lldbutil.run_to_source_breakpoint(
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/
H A DTestDataFormatterGenericMultiSet.py43 (self.target, process, _, bkpt) = lldbutil.run_to_source_breakpoint(
65 lldbutil.continue_to_breakpoint(process, bkpt)
76 lldbutil.continue_to_breakpoint(process, bkpt)
80 lldbutil.continue_to_breakpoint(process, bkpt)
83 lldbutil.continue_to_breakpoint(process, bkpt)
90 lldbutil.continue_to_breakpoint(process, bkpt)
98 lldbutil.continue_to_breakpoint(process, bkpt)
119 lldbutil.continue_to_breakpoint(process, bkpt)
131 (self.target, process, _, bkpt) = lldbutil.run_to_source_breakpoint(
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/scripted_bkpt/
H A DTestScriptedResolver.py176 … bkpt = target.BreakpointCreateFromScript("resolver.Resolver", extra_args, module_list, file_list)
177 self.assertTrue(bkpt.GetNumLocations() > 0, "Resolver got no locations.")
182 self.assertTrue(bkpt.GetNumLocations() > 0, "ResolverModuleDepth got no locations.")
186 …bkpt = target.BreakpointCreateFromScript("resolver.ResolverCUDepth", extra_args, module_list, file…
187 self.assertTrue(bkpt.GetNumLocations() > 0, "ResolverCUDepth got no locations.")
191 …bkpt = target.BreakpointCreateFromScript("resolver.ResolverBadDepth", extra_args, module_list, fil…
192 self.assertTrue(bkpt.GetNumLocations() > 0, "ResolverBadDepth got no locations.")
197 self.assertTrue(bkpt.GetNumLocations() > 0, "ResolverFuncDepth got no locations.")
210 bkpt = target.FindBreakpointByID(bkpt_no)
212 bkpt.GetDescription(strm, False)
[all …]
H A Dresolver.py7 def __init__(self, bkpt, extra_args, dict): argument
8 self.bkpt = bkpt
32 self.bkpt.AddLocation(sym_ctx.function.GetStartAddress())
38 self.bkpt.AddLocation(sym.GetStartAddress())
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_ignore_count/
H A DTestBreakpointIgnoreCount.py107 target, process, thread, bkpt = lldbutil.run_to_source_breakpoint(self,
158 bkpt = target.BreakpointCreateBySourceRegex("Set a breakpoint here, with i", main_spec)
159 self.assertEqual(bkpt.GetNumLocations(), 1, "Wrong number of locations")
162 loc = bkpt.location[0]
167 bkpt.SetIgnoreCount(2)
168 bkpt.SetCondition("i >= 3")
170 threads = lldbutil.continue_to_breakpoint(process, bkpt)
177 self.assertEqual(bkpt.GetHitCount(), 3, "Hit count is not right")
/llvm-project-15.0.7/lldb/test/API/test_utils/
H A DTestInlineTest.py25 def bkpt(line, cmd): function
29 bkpt(2, 'first break'),
30 bkpt(4, 'second break\ncontinue second\n continuing indented\nnot indented'),
31 bkpt(8, "third break")])
/llvm-project-15.0.7/llvm/test/MC/CSKY/
H A Djmpi.s8 bkpt
10 bkpt
13 # CHECK: 0: bkpt
15 # CHECK-NEXT: 6: bkpt
/llvm-project-15.0.7/lldb/test/API/functionalities/stop-on-sharedlibrary-load/
H A DTestStopOnSharedlibraryEvents.py19 def auto_continue(bkpt): argument
20 bkpt.SetAutoContinue(True)
27 def condition(bkpt): argument
28 bkpt.SetCondition("1 == 2")
35 def bkpt_callback(bkpt): argument
36 bkpt.SetScriptCallbackBody("return False")
/llvm-project-15.0.7/lldb/include/lldb/Breakpoint/
H A DBreakpointResolverName.h26 BreakpointResolverName(const lldb::BreakpointSP &bkpt, const char *name,
33 BreakpointResolverName(const lldb::BreakpointSP &bkpt, const char *names[],
40 BreakpointResolverName(const lldb::BreakpointSP &bkpt,
48 BreakpointResolverName(const lldb::BreakpointSP &bkpt,
54 CreateFromStructuredData(const lldb::BreakpointSP &bkpt,
/llvm-project-15.0.7/lldb/test/API/commands/expression/result_numbering/
H A DTestResultNumbering.py23 (target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(self,
26 bkpt = target.BreakpointCreateBySourceRegex("Add conditions to this breakpoint",
28 self.assertEqual(bkpt.GetNumLocations(), 1, "Set the breakpoint")
30 bkpt.SetCondition("call_me(value) < 6")
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/variant/
H A DTestDataFormatterLibcxxVariant.py27 … (self.target, self.process, _, bkpt) = lldbutil.run_to_source_breakpoint(self, '// break here',
40 lldbutil.continue_to_breakpoint(self.process, bkpt)
59 lldbutil.continue_to_breakpoint(self.process, bkpt)
66 lldbutil.continue_to_breakpoint(self.process, bkpt)
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/
H A DTestDataFormatterLibcxxSpan.py50 (self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
53 lldbutil.continue_to_breakpoint(process, bkpt)
72 lldbutil.continue_to_breakpoint(process, bkpt)
105 lldbutil.continue_to_breakpoint(process, bkpt)
113 lldbutil.continue_to_breakpoint(process, bkpt)
141 (self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
/llvm-project-15.0.7/lldb/test/API/commands/target/stop-hooks/
H A DTestStopHooks.py36 (target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(self,
61 bkpt = target.BreakpointCreateBySourceRegex("Continue to here", self.main_source_file)
62 self.assertNotEqual(bkpt.GetNumLocations(), 0, "Set the second breakpoint")
65 bkpt.SetCommandLineCommands(commands);
67 threads = lldbutil.continue_to_breakpoint(process, bkpt)
/llvm-project-15.0.7/lldb/test/API/commands/expression/expr_inside_lambda/
H A DTestExprInsideLambdas.py25 (target, process, self.thread, bkpt) = \
64 lldbutil.continue_to_breakpoint(process, bkpt)
80 lldbutil.continue_to_breakpoint(process, bkpt)
89 lldbutil.continue_to_breakpoint(process, bkpt)
118 lldbutil.continue_to_breakpoint(process, bkpt)
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointResolverScripted.cpp29 const BreakpointSP &bkpt, const llvm::StringRef class_name, in BreakpointResolverScripted() argument
31 : BreakpointResolver(bkpt, BreakpointResolver::PythonResolver), in BreakpointResolverScripted()
33 CreateImplementationIfNeeded(bkpt); in BreakpointResolverScripted()
63 const BreakpointSP &bkpt, const StructuredData::Dictionary &options_dict, in CreateFromStructuredData() argument
83 return new BreakpointResolverScripted(bkpt, class_name, depth, in CreateFromStructuredData()

12345678