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 there was only one owner, then we're done. But if we also hit
360 // some user breakpoint on our way out, we should mark ourselves as
361 // done, but also not claim to explain the stop, since it is more
362 // important to report the user breakpoint than the step out
363 // completion.
364
365 if (site_sp->GetNumberOfConstituents() == 1)
366 return true;
367 }
368 return false;
369 } else if (IsUsuallyUnexplainedStopReason(reason))
370 return false;
371 else
372 return true;
373 }
374 return true;
375}
376
378 if (IsPlanComplete())
379 return true;
380
381 bool done = false;
383 if (m_step_out_to_inline_plan_sp->MischiefManaged()) {
384 // Now step through the inlined stack we are in:
385 if (QueueInlinedStepPlan(true)) {
386 // If we can't queue a plan to do this, then just call ourselves done.
388 SetPlanComplete(false);
389 return true;
390 } else
391 done = true;
392 } else
393 return m_step_out_to_inline_plan_sp->ShouldStop(event_ptr);
395 if (m_step_through_inline_plan_sp->MischiefManaged())
396 done = true;
397 else
398 return m_step_through_inline_plan_sp->ShouldStop(event_ptr);
399 } else if (m_step_out_further_plan_sp) {
400 if (m_step_out_further_plan_sp->MischiefManaged())
402 else
403 return m_step_out_further_plan_sp->ShouldStop(event_ptr);
404 }
405
406 if (!done) {
407 StopInfoSP stop_info_sp = GetPrivateStopInfo();
408 if (stop_info_sp && stop_info_sp->GetStopReason() == eStopReasonBreakpoint) {
409 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID();
410 done = !(frame_zero_id < m_step_out_to_id);
411 }
412 }
413
414 // The normal step out computations think we are done, so all we need to do
415 // is consult the ShouldStopHere, and we are done.
416
417 if (done) {
421 } else {
424 done = false;
425 }
426 }
427
428 return done;
429}
430
432
434
436 bool current_plan) {
438 return true;
439
441 return false;
442
443 if (current_plan) {
445 if (return_bp != nullptr)
446 return_bp->SetEnabled(true);
447 }
448 return true;
449}
450
454 if (return_bp != nullptr)
455 return_bp->SetEnabled(false);
456 }
457
458 return true;
459}
460
462 if (IsPlanComplete()) {
463 // Did I reach my breakpoint? If so I'm done.
464 //
465 // I also check the stack depth, since if we've blown past the breakpoint
466 // for some
467 // reason and we're now stopping for some other reason altogether, then
468 // we're done with this step out operation.
469
470 Log *log = GetLog(LLDBLog::Step);
471 if (log)
472 LLDB_LOGF(log, "Completed step out plan.");
476 }
477
479 return true;
480 } else {
481 return false;
482 }
483}
484
486 // Now figure out the range of this inlined block, and set up a "step through
487 // range" plan for that. If we've been provided with a context, then use the
488 // block in that context.
489 Thread &thread = GetThread();
490 StackFrameSP immediate_return_from_sp(thread.GetStackFrameAtIndex(0));
491 if (!immediate_return_from_sp)
492 return false;
493
494 Log *log = GetLog(LLDBLog::Step);
495 if (log) {
496 StreamString s;
497 immediate_return_from_sp->Dump(&s, true, false);
498 LLDB_LOGF(log, "Queuing inlined frame to step past: %s.", s.GetData());
499 }
500
501 Block *from_block = immediate_return_from_sp->GetFrameBlock();
502 if (from_block) {
503 Block *inlined_block = from_block->GetContainingInlinedBlock();
504 if (inlined_block) {
505 size_t num_ranges = inlined_block->GetNumRanges();
506 AddressRange inline_range;
507 if (inlined_block->GetRangeAtIndex(0, inline_range)) {
508 SymbolContext inlined_sc;
509 inlined_block->CalculateSymbolContext(&inlined_sc);
510 inlined_sc.target_sp = GetTarget().shared_from_this();
511 RunMode run_mode =
513 const LazyBool avoid_no_debug = eLazyBoolNo;
514
516 std::make_shared<ThreadPlanStepOverRange>(
517 thread, inline_range, inlined_sc, run_mode, avoid_no_debug);
518 ThreadPlanStepOverRange *step_through_inline_plan_ptr =
519 static_cast<ThreadPlanStepOverRange *>(
521 m_step_through_inline_plan_sp->SetPrivate(true);
522
523 step_through_inline_plan_ptr->SetOkayToDiscard(true);
524 StreamString errors;
525 if (!step_through_inline_plan_ptr->ValidatePlan(&errors)) {
526 // FIXME: Log this failure.
527 delete step_through_inline_plan_ptr;
528 return false;
529 }
530
531 for (size_t i = 1; i < num_ranges; i++) {
532 if (inlined_block->GetRangeAtIndex(i, inline_range))
533 step_through_inline_plan_ptr->AddRange(inline_range);
534 }
535
536 if (queue_now)
537 thread.QueueThreadPlan(m_step_through_inline_plan_sp, false);
538 return true;
539 }
540 }
541 }
542
543 return false;
544}
545
548 return;
549
551 return;
552
553 if (m_immediate_step_from_function != nullptr) {
554 CompilerType return_compiler_type =
555 m_immediate_step_from_function->GetCompilerType()
556 .GetFunctionReturnType();
557 if (return_compiler_type) {
558 lldb::ABISP abi_sp = m_process.GetABI();
559 if (abi_sp)
561 abi_sp->GetReturnValueObject(GetThread(), return_compiler_type);
562 }
563 }
564}
565
567 // If we are still lower on the stack than the frame we are returning to,
568 // then there's something for us to do. Otherwise, we're stale.
569
570 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID();
571 return !(frame_zero_id < m_step_out_to_id);
572}
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:448
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:414
bool RemoveBreakpointByID(lldb::break_id_t break_id)
Definition Target.cpp:1099
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:481
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:134
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