LLDB mainline
ThreadPlanStepOut.cpp
Go to the documentation of this file.
1//===-- ThreadPlanStepOut.cpp ---------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
11#include "lldb/Core/Value.h"
12#include "lldb/Symbol/Block.h"
14#include "lldb/Symbol/Symbol.h"
15#include "lldb/Symbol/Type.h"
16#include "lldb/Target/ABI.h"
17#include "lldb/Target/Process.h"
20#include "lldb/Target/Target.h"
24#include "lldb/Utility/Log.h"
26
27#include <memory>
28
29using namespace lldb;
30using namespace lldb_private;
31
33
34/// Computes the target frame this plan should step out to.
35static StackFrameSP
36ComputeTargetFrame(Thread &thread, uint32_t start_frame_idx,
37 std::vector<StackFrameSP> &skipped_frames) {
38 uint32_t frame_idx = start_frame_idx + 1;
39 StackFrameSP return_frame_sp = thread.GetStackFrameAtIndex(frame_idx);
40 if (!return_frame_sp)
41 return nullptr;
42
43 while (return_frame_sp->IsArtificial() || return_frame_sp->IsHidden()) {
44 skipped_frames.push_back(return_frame_sp);
45
46 frame_idx++;
47 return_frame_sp = thread.GetStackFrameAtIndex(frame_idx);
48
49 // We never expect to see an artificial frame without a regular ancestor.
50 // Defensively refuse to step out.
51 if (!return_frame_sp) {
53 "Can't step out of frame with artificial ancestors");
54 return nullptr;
55 }
56 }
57 return return_frame_sp;
58}
59
60// ThreadPlanStepOut: Step out of the current frame
62 Thread &thread, SymbolContext *context, bool first_insn, bool stop_others,
63 Vote report_stop_vote, Vote report_run_vote, uint32_t frame_idx,
64 LazyBool step_out_avoids_code_without_debug_info,
65 bool continue_to_next_branch, bool gather_return_value)
66 : ThreadPlan(ThreadPlan::eKindStepOut, "Step out", thread, report_stop_vote,
67 report_run_vote),
72 m_calculate_return_value(gather_return_value) {
74 SetupAvoidNoDebug(step_out_avoids_code_without_debug_info);
75
76 m_step_from_insn = thread.GetRegisterContext()->GetPC(0);
77
78 StackFrameSP return_frame_sp =
79 ComputeTargetFrame(thread, frame_idx, m_stepped_past_frames);
80 StackFrameSP immediate_return_from_sp(thread.GetStackFrameAtIndex(frame_idx));
81
82 SetupReturnAddress(return_frame_sp, immediate_return_from_sp, frame_idx,
83 continue_to_next_branch);
84}
85
87 Vote report_stop_vote,
88 Vote report_run_vote, uint32_t frame_idx,
89 bool continue_to_next_branch,
90 bool gather_return_value)
91 : ThreadPlan(ThreadPlan::eKindStepOut, "Step out", thread, report_stop_vote,
92 report_run_vote),
96 m_calculate_return_value(gather_return_value) {
98 m_step_from_insn = thread.GetRegisterContext()->GetPC(0);
99
100 StackFrameSP return_frame_sp = thread.GetStackFrameAtIndex(frame_idx + 1);
101 StackFrameSP immediate_return_from_sp =
102 thread.GetStackFrameAtIndex(frame_idx);
103
104 SetupReturnAddress(return_frame_sp, immediate_return_from_sp, frame_idx,
105 continue_to_next_branch);
106}
107
109 StackFrameSP return_frame_sp, StackFrameSP immediate_return_from_sp,
110 uint32_t frame_idx, bool continue_to_next_branch) {
111 if (!return_frame_sp || !immediate_return_from_sp)
112 return; // we can't do anything here. ValidatePlan() will return false.
113
114 m_step_out_to_id = return_frame_sp->GetStackID();
115 m_immediate_step_from_id = immediate_return_from_sp->GetStackID();
116
117 // If the frame directly below the one we are returning to is inlined, we
118 // have to be a little more careful. It is non-trivial to determine the real
119 // "return code address" for an inlined frame, so we have to work our way to
120 // that frame and then step out.
121 if (immediate_return_from_sp->IsInlined()) {
122 if (frame_idx > 0) {
123 // First queue a plan that gets us to this inlined frame, and when we get
124 // there we'll queue a second plan that walks us out of this frame.
125 m_step_out_to_inline_plan_sp = std::make_shared<ThreadPlanStepOut>(
126 GetThread(), nullptr, false, m_stop_others, eVoteNoOpinion,
127 eVoteNoOpinion, frame_idx - 1, eLazyBoolNo, continue_to_next_branch);
129 ->SetShouldStopHereCallbacks(nullptr, nullptr);
130 m_step_out_to_inline_plan_sp->SetPrivate(true);
131 } else {
132 // If we're already at the inlined frame we're stepping through, then
133 // just do that now.
135 }
136 } else {
137 // Find the return address and set a breakpoint there:
138 // FIXME - can we do this more securely if we know first_insn?
139
140 Address return_address(return_frame_sp->GetFrameCodeAddress());
141 if (continue_to_next_branch) {
142 SymbolContext return_address_sc;
143 AddressRange range;
144 Address return_address_decr_pc = return_address;
145 if (return_address_decr_pc.GetOffset() > 0)
146 return_address_decr_pc.Slide(-1);
147
148 return_address_decr_pc.CalculateSymbolContext(
149 &return_address_sc, lldb::eSymbolContextLineEntry);
150 if (return_address_sc.line_entry.IsValid()) {
151 const bool include_inlined_functions = false;
152 range = return_address_sc.line_entry.GetSameLineContiguousAddressRange(
153 include_inlined_functions);
154 if (range.GetByteSize() > 0) {
155 return_address = m_process.AdvanceAddressToNextBranchInstruction(
156 return_address, range);
157 }
158 }
159 }
160 m_return_addr = return_address.GetLoadAddress(&m_process.GetTarget());
161
163 return;
164
165 // Perform some additional validation on the return address.
166 uint32_t permissions = 0;
167 Log *log = GetLog(LLDBLog::Step);
168 if (!m_process.GetLoadAddressPermissions(m_return_addr, permissions)) {
169 LLDB_LOGF(log, "ThreadPlanStepOut(%p): Return address (0x%" PRIx64
170 ") permissions not found.", static_cast<void *>(this),
172 } else if (!(permissions & ePermissionsExecutable)) {
173 m_constructor_errors.Printf("Return address (0x%" PRIx64
174 ") did not point to executable memory.",
176 LLDB_LOGF(log, "ThreadPlanStepOut(%p): %s", static_cast<void *>(this),
177 m_constructor_errors.GetData());
178 return;
179 }
180
181 Breakpoint *return_bp =
182 GetTarget().CreateBreakpoint(m_return_addr, true, false).get();
183
184 if (return_bp != nullptr) {
185 if (return_bp->IsHardware() && !return_bp->HasResolvedLocations())
187 return_bp->SetThreadID(m_tid);
188 m_return_bp_id = return_bp->GetID();
189 return_bp->SetBreakpointKind("step-out");
190 }
191
192 if (immediate_return_from_sp) {
193 const SymbolContext &sc =
194 immediate_return_from_sp->GetSymbolContext(eSymbolContextFunction);
195 if (sc.function) {
197 }
198 }
199 }
200}
201
203 LazyBool step_out_avoids_code_without_debug_info) {
204 bool avoid_nodebug = true;
205 switch (step_out_avoids_code_without_debug_info) {
206 case eLazyBoolYes:
207 avoid_nodebug = true;
208 break;
209 case eLazyBoolNo:
210 avoid_nodebug = false;
211 break;
213 avoid_nodebug = GetThread().GetStepOutAvoidsNoDebug();
214 break;
215 }
216 if (avoid_nodebug)
218 else
220}
221
223 Thread &thread = GetThread();
225 thread.QueueThreadPlan(m_step_out_to_inline_plan_sp, false);
227 thread.QueueThreadPlan(m_step_through_inline_plan_sp, false);
228}
229
234
237 if (level == lldb::eDescriptionLevelBrief)
238 s->Printf("step out");
239 else {
241 s->Printf("Stepping out to inlined frame so we can walk through it.");
243 s->Printf("Stepping out by stepping through inlined function.");
244 else {
245 s->Printf("Stepping out from ");
246 Address tmp_address;
247 if (tmp_address.SetLoadAddress(m_step_from_insn, &GetTarget())) {
250 } else {
251 s->Printf("address 0x%" PRIx64 "", (uint64_t)m_step_from_insn);
252 }
253
254 // FIXME: find some useful way to present the m_return_id, since there may
255 // be multiple copies of the
256 // same function on the stack.
257
258 s->Printf(" returning to frame at ");
259 if (tmp_address.SetLoadAddress(m_return_addr, &GetTarget())) {
262 } else {
263 s->Printf("address 0x%" PRIx64 "", (uint64_t)m_return_addr);
264 }
265
266 if (level == eDescriptionLevelVerbose)
267 s->Printf(" using breakpoint site %d", m_return_bp_id);
268 }
269 }
270
271 if (m_stepped_past_frames.empty())
272 return;
273
274 s->Printf("\n");
275 for (StackFrameSP frame_sp : m_stepped_past_frames) {
276 s->Printf("Stepped out past: ");
277 frame_sp->DumpUsingSettingsFormat(s);
278 }
279}
280
283 return m_step_out_to_inline_plan_sp->ValidatePlan(error);
284
286 return m_step_through_inline_plan_sp->ValidatePlan(error);
287
289 if (error)
290 error->PutCString(
291 "Could not create hardware breakpoint for thread plan.");
292 return false;
293 }
294
296 if (error) {
297 error->PutCString("Could not create return address breakpoint.");
298 if (m_constructor_errors.GetSize() > 0) {
299 error->PutCString(" ");
300 error->PutCString(m_constructor_errors.GetString());
301 }
302 }
303 return false;
304 }
305
306 return true;
307}
308
310 // If the step out plan is done, then we just need to step through the
311 // inlined frame.
313 return m_step_out_to_inline_plan_sp->MischiefManaged();
315 if (m_step_through_inline_plan_sp->MischiefManaged()) {
318 return true;
319 } else
320 return false;
321 } else if (m_step_out_further_plan_sp) {
322 return m_step_out_further_plan_sp->MischiefManaged();
323 }
324
325 // We don't explain signals or breakpoints (breakpoints that handle stepping
326 // in or out will be handled by a child plan.
327
328 StopInfoSP stop_info_sp = GetPrivateStopInfo();
329 if (stop_info_sp) {
330 StopReason reason = stop_info_sp->GetStopReason();
331 if (reason == eStopReasonBreakpoint) {
332 // If this is OUR breakpoint, we're fine, otherwise we don't know why
333 // this happened...
334 BreakpointSiteSP site_sp(
335 m_process.GetBreakpointSiteList().FindByID(stop_info_sp->GetValue()));
336 if (site_sp && site_sp->IsBreakpointAtThisSite(m_return_bp_id)) {
337 bool done;
338
339 StackID frame_zero_id =
340 GetThread().GetStackFrameAtIndex(0)->GetStackID();
341
342 if (m_step_out_to_id == frame_zero_id)
343 done = true;
344 else if (m_step_out_to_id < frame_zero_id) {
345 // Either we stepped past the breakpoint, or the stack ID calculation
346 // was incorrect and we should probably stop.
347 done = true;
348 } else {
349 done = (m_immediate_step_from_id < frame_zero_id);
350 }
351
352 if (done) {
356 }
357 }
358
359 // If the thread also hit a user breakpoint on its way out, the plan is
360 // done but should not claim to explain the stop. It is more important
361 // to report the user breakpoint than the step out completion.
362 if (!site_sp->ContainsUserBreakpointForThread(GetThread()))
363 return true;
364 }
365 return false;
366 } else if (IsUsuallyUnexplainedStopReason(reason))
367 return false;
368 else
369 return true;
370 }
371 return true;
372}
373
375 if (IsPlanComplete())
376 return true;
377
378 bool done = false;
380 if (m_step_out_to_inline_plan_sp->MischiefManaged()) {
381 // Now step through the inlined stack we are in:
382 if (QueueInlinedStepPlan(true)) {
383 // If we can't queue a plan to do this, then just call ourselves done.
385 SetPlanComplete(false);
386 return true;
387 } else
388 done = true;
389 } else
390 return m_step_out_to_inline_plan_sp->ShouldStop(event_ptr);
392 if (m_step_through_inline_plan_sp->MischiefManaged())
393 done = true;
394 else
395 return m_step_through_inline_plan_sp->ShouldStop(event_ptr);
396 } else if (m_step_out_further_plan_sp) {
397 if (m_step_out_further_plan_sp->MischiefManaged()) {
399 done = true;
400 } else
401 return m_step_out_further_plan_sp->ShouldStop(event_ptr);
402 }
403
404 if (!done) {
405 StopInfoSP stop_info_sp = GetPrivateStopInfo();
406 if (stop_info_sp && stop_info_sp->GetStopReason() == eStopReasonBreakpoint) {
407 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID();
408 done = !(frame_zero_id < m_step_out_to_id);
409 }
410 }
411
412 // The normal step out computations think we are done, so all we need to do
413 // is consult the ShouldStopHere, and we are done.
414
415 if (done) {
419 } else {
422 done = false;
423 }
424 }
425
426 return done;
427}
428
430
432
434 bool current_plan) {
436 return true;
437
439 return false;
440
441 if (current_plan) {
443 if (return_bp != nullptr)
444 return_bp->SetEnabled(true);
445 }
446 return true;
447}
448
452 if (return_bp != nullptr)
453 return_bp->SetEnabled(false);
454 }
455
456 return true;
457}
458
460 if (IsPlanComplete()) {
461 // Did I reach my breakpoint? If so I'm done.
462 //
463 // I also check the stack depth, since if we've blown past the breakpoint
464 // for some
465 // reason and we're now stopping for some other reason altogether, then
466 // we're done with this step out operation.
467
468 Log *log = GetLog(LLDBLog::Step);
469 if (log)
470 LLDB_LOGF(log, "Completed step out plan.");
474 }
475
477 return true;
478 } else {
479 return false;
480 }
481}
482
484 // Now figure out the range of this inlined block, and set up a "step through
485 // range" plan for that. If we've been provided with a context, then use the
486 // block in that context.
487 Thread &thread = GetThread();
488 StackFrameSP immediate_return_from_sp(thread.GetStackFrameAtIndex(0));
489 if (!immediate_return_from_sp)
490 return false;
491
492 Log *log = GetLog(LLDBLog::Step);
493 if (log) {
494 StreamString s;
495 immediate_return_from_sp->Dump(&s, true, false);
496 LLDB_LOGF(log, "Queuing inlined frame to step past: %s.", s.GetData());
497 }
498
499 Block *from_block = immediate_return_from_sp->GetFrameBlock();
500 if (from_block) {
501 Block *inlined_block = from_block->GetContainingInlinedBlock();
502 if (inlined_block) {
503 size_t num_ranges = inlined_block->GetNumRanges();
504 AddressRange inline_range;
505 if (inlined_block->GetRangeAtIndex(0, inline_range)) {
506 SymbolContext inlined_sc;
507 inlined_block->CalculateSymbolContext(&inlined_sc);
508 inlined_sc.target_sp = GetTarget().shared_from_this();
509 RunMode run_mode =
511 const LazyBool avoid_no_debug = eLazyBoolNo;
512
514 std::make_shared<ThreadPlanStepOverRange>(
515 thread, inline_range, inlined_sc, run_mode, avoid_no_debug);
516 ThreadPlanStepOverRange *step_through_inline_plan_ptr =
517 static_cast<ThreadPlanStepOverRange *>(
519 m_step_through_inline_plan_sp->SetPrivate(true);
520
521 step_through_inline_plan_ptr->SetOkayToDiscard(true);
522 StreamString errors;
523 if (!step_through_inline_plan_ptr->ValidatePlan(&errors)) {
524 // FIXME: Log this failure.
525 delete step_through_inline_plan_ptr;
526 return false;
527 }
528
529 for (size_t i = 1; i < num_ranges; i++) {
530 if (inlined_block->GetRangeAtIndex(i, inline_range))
531 step_through_inline_plan_ptr->AddRange(inline_range);
532 }
533
534 if (queue_now)
535 thread.QueueThreadPlan(m_step_through_inline_plan_sp, false);
536 return true;
537 }
538 }
539 }
540
541 return false;
542}
543
546 return;
547
549 return;
550
551 if (m_immediate_step_from_function != nullptr) {
552 CompilerType return_compiler_type =
553 m_immediate_step_from_function->GetCompilerType()
554 .GetFunctionReturnType();
555 if (return_compiler_type) {
556 lldb::ABISP abi_sp = m_process.GetABI();
557 if (abi_sp)
559 abi_sp->GetReturnValueObject(GetThread(), return_compiler_type);
560 }
561 }
562}
563
565 // If we are still lower on the stack than the frame we are returning to,
566 // then there's something for us to do. Otherwise, we're stale.
567
568 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID();
569 return !(frame_zero_id < m_step_out_to_id);
570}
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_LOG(log,...)
The LLDB_LOG* macros defined below are the way to emit log messages.
Definition Log.h:369
#define LLDB_LOGF(log,...)
Definition Log.h:376
static StackFrameSP ComputeTargetFrame(Thread &thread, uint32_t start_frame_idx, std::vector< StackFrameSP > &skipped_frames)
Computes the target frame this plan should step out to.
A section + offset based address range class.
lldb::addr_t GetByteSize() const
Get accessor for the byte size of this range.
A section + offset based address class.
Definition Address.h:62
lldb::addr_t GetLoadAddress(Target *target) const
Get the load address.
Definition Address.cpp:301
bool SetLoadAddress(lldb::addr_t load_addr, Target *target, bool allow_section_end=false)
Set the address to represent load_addr.
Definition Address.cpp:1035
uint32_t CalculateSymbolContext(SymbolContext *sc, lldb::SymbolContextItem resolve_scope=lldb::eSymbolContextEverything) const
Reconstruct a symbol context from an address.
Definition Address.cpp:820
@ DumpStyleResolvedDescription
Display the details about what an address resolves to.
Definition Address.h:104
@ DumpStyleLoadAddress
Display as the load address (if resolved).
Definition Address.h:99
bool Slide(int64_t offset)
Definition Address.h:452
bool Dump(Stream *s, ExecutionContextScope *exe_scope, DumpStyle style, DumpStyle fallback_style=DumpStyleInvalid, uint32_t addr_byte_size=UINT32_MAX, bool all_ranges=false, std::optional< Stream::HighlightSettings > settings=std::nullopt) const
Dump a description of this object to a Stream.
Definition Address.cpp:396
lldb::addr_t GetOffset() const
Get the section relative offset value.
Definition Address.h:329
A class that describes a single lexical block.
Definition Block.h:41
void CalculateSymbolContext(SymbolContext *sc) override
Reconstruct the object's symbol context into sc.
Definition Block.cpp:137
Block * GetContainingInlinedBlock()
Get the inlined block that contains this block.
Definition Block.cpp:206
bool GetRangeAtIndex(uint32_t range_idx, AddressRange &range)
Definition Block.cpp:294
size_t GetNumRanges() const
Definition Block.h:331
General Outline: A breakpoint has four main parts, a filter, a resolver, the list of breakpoint locat...
Definition Breakpoint.h:81
void SetBreakpointKind(const char *kind)
Set the "kind" description for a breakpoint.
Definition Breakpoint.h:482
bool HasResolvedLocations() const
Return whether this breakpoint has any resolved locations.
void SetThreadID(lldb::tid_t thread_id)
Set the valid thread to be checked when the breakpoint is hit.
void SetEnabled(bool enable) override
If enable is true, enable the breakpoint, if false disable it.
Generic representation of a type in a programming language.
ValueType Clear(ValueType mask=~static_cast< ValueType >(0))
Clear one or more flags.
Definition Flags.h:61
ValueType Set(ValueType mask)
Set one or more flags by logical OR'ing mask with the current flags.
Definition Flags.h:73
lldb::break_id_t GetID() const
Definition Stoppoint.cpp:22
const char * GetData() const
A stream class that can stream formatted output to a file.
Definition Stream.h:28
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
Definition Stream.cpp:134
Defines a symbol context baton that can be handed other debug core functions.
Function * function
The Function for a given query.
lldb::TargetSP target_sp
The Target for a given query.
LineEntry line_entry
The LineEntry for a given query.
lldb::BreakpointSP GetBreakpointByID(lldb::break_id_t break_id)
Definition Target.cpp:421
bool RemoveBreakpointByID(lldb::break_id_t break_id)
Definition Target.cpp:1106
lldb::BreakpointSP CreateBreakpoint(const FileSpecList *containingModules, const FileSpec &file, uint32_t line_no, uint32_t column, lldb::addr_t offset, LazyBool check_inlines, LazyBool skip_prologue, bool internal, bool request_hardware, LazyBool move_to_nearest_code)
Definition Target.cpp:488
virtual lldb::ThreadPlanSP QueueStepOutFromHerePlan(Flags &flags, lldb::FrameComparison operation, Status &status)
bool InvokeShouldStopHereCallback(lldb::FrameComparison operation, Status &status)
void GetDescription(Stream *s, lldb::DescriptionLevel level) override
Print a description of this thread to the stream s.
lldb::ValueObjectSP m_return_valobj_sp
std::vector< lldb::StackFrameSP > m_stepped_past_frames
void SetupReturnAddress(lldb::StackFrameSP return_frame_sp, lldb::StackFrameSP immediate_return_from_sp, uint32_t frame_idx, bool continue_to_next_branch)
bool QueueInlinedStepPlan(bool queue_now)
lldb::StateType GetPlanRunState() override
lldb::ThreadPlanSP m_step_out_further_plan_sp
bool DoWillResume(lldb::StateType resume_state, bool current_plan) override
void SetupAvoidNoDebug(LazyBool step_out_avoids_code_without_debug_info)
ThreadPlanStepOut(Thread &thread, SymbolContext *addr_context, bool first_insn, bool stop_others, Vote report_stop_vote, Vote report_run_vote, uint32_t frame_idx, LazyBool step_out_avoids_code_without_debug_info, bool continue_to_next_branch=false, bool gather_return_value=true)
Creates a thread plan to step out from frame_idx, skipping parent frames if they are artificial or hi...
bool ValidatePlan(Stream *error) override
Returns whether this plan could be successfully created.
bool DoPlanExplainsStop(Event *event_ptr) override
lldb::ThreadPlanSP m_step_through_inline_plan_sp
bool ShouldStop(Event *event_ptr) override
lldb::ThreadPlanSP m_step_out_to_inline_plan_sp
bool ValidatePlan(Stream *error) override
Returns whether this plan could be successfully created.
void AddRange(const AddressRange &new_range)
ThreadPlan(ThreadPlanKind kind, const char *name, Thread &thread, Vote report_stop_vote, Vote report_run_vote)
bool IsUsuallyUnexplainedStopReason(lldb::StopReason)
void SetPlanComplete(bool success=true)
Thread & GetThread()
Returns the Thread that is using this thread plan.
void SetOkayToDiscard(bool value)
Definition ThreadPlan.h:427
virtual bool MischiefManaged()
lldb::StopInfoSP GetPrivateStopInfo()
Definition ThreadPlan.h:544
bool GetStepOutAvoidsNoDebug() const
Definition Thread.cpp:139
virtual lldb::StackFrameSP GetStackFrameAtIndex(uint32_t idx)
Definition Thread.h:431
#define LLDB_INVALID_BREAK_ID
#define LLDB_INVALID_ADDRESS
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
Definition Log.h:332
std::shared_ptr< lldb_private::ABI > ABISP
std::shared_ptr< lldb_private::StackFrame > StackFrameSP
std::shared_ptr< lldb_private::BreakpointSite > BreakpointSiteSP
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
@ eDescriptionLevelBrief
@ eDescriptionLevelVerbose
StateType
Process and Thread States.
@ eStateRunning
Process or thread is running and can't be examined.
std::shared_ptr< lldb_private::StopInfo > StopInfoSP
StopReason
Thread stop reasons.
@ eStopReasonBreakpoint
RunMode
Thread Run Modes.
AddressRange GetSameLineContiguousAddressRange(bool include_inlined_functions) const
Give the range for this LineEntry + any additional LineEntries for this same source line that are con...
bool IsValid() const
Check if a line entry object is valid.
Definition LineEntry.cpp:35