LLDB  mainline
ThreadPlanStepInRange.cpp
Go to the documentation of this file.
1 //===-- ThreadPlanStepInRange.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 
10 #include "lldb/Core/Architecture.h"
11 #include "lldb/Core/Module.h"
12 #include "lldb/Symbol/Function.h"
13 #include "lldb/Symbol/Symbol.h"
14 #include "lldb/Target/Process.h"
17 #include "lldb/Target/Target.h"
18 #include "lldb/Target/Thread.h"
21 #include "lldb/Utility/Log.h"
23 #include "lldb/Utility/Stream.h"
24 
25 using namespace lldb;
26 using namespace lldb_private;
27 
28 uint32_t ThreadPlanStepInRange::s_default_flag_values =
29  ThreadPlanShouldStopHere::eStepInAvoidNoDebug;
30 
31 // ThreadPlanStepInRange: Step through a stack range, either stepping over or
32 // into based on the value of \a type.
33 
34 ThreadPlanStepInRange::ThreadPlanStepInRange(
35  Thread &thread, const AddressRange &range,
36  const SymbolContext &addr_context, lldb::RunMode stop_others,
37  LazyBool step_in_avoids_code_without_debug_info,
38  LazyBool step_out_avoids_code_without_debug_info)
39  : ThreadPlanStepRange(ThreadPlan::eKindStepInRange,
40  "Step Range stepping in", thread, range, addr_context,
41  stop_others),
42  ThreadPlanShouldStopHere(this), m_step_past_prologue(true),
43  m_virtual_step(false) {
44  SetCallbacks();
46  SetupAvoidNoDebug(step_in_avoids_code_without_debug_info,
47  step_out_avoids_code_without_debug_info);
48 }
49 
51  Thread &thread, const AddressRange &range,
52  const SymbolContext &addr_context, const char *step_into_target,
53  lldb::RunMode stop_others, LazyBool step_in_avoids_code_without_debug_info,
54  LazyBool step_out_avoids_code_without_debug_info)
56  "Step Range stepping in", thread, range, addr_context,
57  stop_others),
59  m_virtual_step(false), m_step_into_target(step_into_target) {
60  SetCallbacks();
62  SetupAvoidNoDebug(step_in_avoids_code_without_debug_info,
63  step_out_avoids_code_without_debug_info);
64 }
65 
67 
69  LazyBool step_in_avoids_code_without_debug_info,
70  LazyBool step_out_avoids_code_without_debug_info) {
71  bool avoid_nodebug = true;
72  Thread &thread = GetThread();
73  switch (step_in_avoids_code_without_debug_info) {
74  case eLazyBoolYes:
75  avoid_nodebug = true;
76  break;
77  case eLazyBoolNo:
78  avoid_nodebug = false;
79  break;
80  case eLazyBoolCalculate:
81  avoid_nodebug = thread.GetStepInAvoidsNoDebug();
82  break;
83  }
84  if (avoid_nodebug)
86  else
88 
89  switch (step_out_avoids_code_without_debug_info) {
90  case eLazyBoolYes:
91  avoid_nodebug = true;
92  break;
93  case eLazyBoolNo:
94  avoid_nodebug = false;
95  break;
96  case eLazyBoolCalculate:
97  avoid_nodebug = thread.GetStepOutAvoidsNoDebug();
98  break;
99  }
100  if (avoid_nodebug)
102  else
104 }
105 
107  lldb::DescriptionLevel level) {
108 
109  auto PrintFailureIfAny = [&]() {
110  if (m_status.Success())
111  return;
112  s->Printf(" failed (%s)", m_status.AsCString());
113  };
114 
115  if (level == lldb::eDescriptionLevelBrief) {
116  s->Printf("step in");
117  PrintFailureIfAny();
118  return;
119  }
120 
121  s->Printf("Stepping in");
122  bool printed_line_info = false;
124  s->Printf(" through line ");
126  printed_line_info = true;
127  }
128 
129  const char *step_into_target = m_step_into_target.AsCString();
130  if (step_into_target && step_into_target[0] != '\0')
131  s->Printf(" targeting %s", m_step_into_target.AsCString());
132 
133  if (!printed_line_info || level == eDescriptionLevelVerbose) {
134  s->Printf(" using ranges:");
135  DumpRanges(s);
136  }
137 
138  PrintFailureIfAny();
139 
140  s->PutChar('.');
141 }
142 
145 
146  if (log) {
147  StreamString s;
150  LLDB_LOGF(log, "ThreadPlanStepInRange reached %s.", s.GetData());
151  }
152 
153  if (IsPlanComplete())
154  return true;
155 
156  m_no_more_plans = false;
157  if (m_sub_plan_sp && m_sub_plan_sp->IsPlanComplete()) {
158  if (!m_sub_plan_sp->PlanSucceeded()) {
159  SetPlanComplete();
160  m_no_more_plans = true;
161  return true;
162  } else
163  m_sub_plan_sp.reset();
164  }
165 
166  if (m_virtual_step) {
167  // If we've just completed a virtual step, all we need to do is check for a
168  // ShouldStopHere plan, and otherwise we're done.
169  // FIXME - This can be both a step in and a step out. Probably should
170  // record which in the m_virtual_step.
171  m_sub_plan_sp =
173  } else {
174  // Stepping through should be done running other threads in general, since
175  // we're setting a breakpoint and continuing. So only stop others if we
176  // are explicitly told to do so.
177 
178  bool stop_others = (m_stop_others == lldb::eOnlyThisThread);
179 
181 
182  Thread &thread = GetThread();
183  if (frame_order == eFrameCompareOlder ||
184  frame_order == eFrameCompareSameParent) {
185  // If we're in an older frame then we should stop.
186  //
187  // A caveat to this is if we think the frame is older but we're actually
188  // in a trampoline.
189  // I'm going to make the assumption that you wouldn't RETURN to a
190  // trampoline. So if we are in a trampoline we think the frame is older
191  // because the trampoline confused the backtracer.
193  m_stack_id, false, stop_others, m_status);
194  if (!m_sub_plan_sp) {
195  // Otherwise check the ShouldStopHere for step out:
196  m_sub_plan_sp =
198  if (log) {
199  if (m_sub_plan_sp)
200  LLDB_LOGF(log,
201  "ShouldStopHere found plan to step out of this frame.");
202  else
203  LLDB_LOGF(log, "ShouldStopHere no plan to step out of this frame.");
204  }
205  } else if (log) {
206  LLDB_LOGF(
207  log, "Thought I stepped out, but in fact arrived at a trampoline.");
208  }
209  } else if (frame_order == eFrameCompareEqual && InSymbol()) {
210  // If we are not in a place we should step through, we're done. One
211  // tricky bit here is that some stubs don't push a frame, so we have to
212  // check both the case of a frame that is younger, or the same as this
213  // frame. However, if the frame is the same, and we are still in the
214  // symbol we started in, the we don't need to do this. This first check
215  // isn't strictly necessary, but it is more efficient.
216 
217  // If we're still in the range, keep going, either by running to the next
218  // branch breakpoint, or by stepping.
219  if (InRange()) {
221  return false;
222  }
223 
224  SetPlanComplete();
225  m_no_more_plans = true;
226  return true;
227  }
228 
229  // If we get to this point, we're not going to use a previously set "next
230  // branch" breakpoint, so delete it:
232 
233  // We may have set the plan up above in the FrameIsOlder section:
234 
235  if (!m_sub_plan_sp)
237  m_stack_id, false, stop_others, m_status);
238 
239  if (log) {
240  if (m_sub_plan_sp)
241  LLDB_LOGF(log, "Found a step through plan: %s",
242  m_sub_plan_sp->GetName());
243  else
244  LLDB_LOGF(log, "No step through plan found.");
245  }
246 
247  // If not, give the "should_stop" callback a chance to push a plan to get
248  // us out of here. But only do that if we actually have stepped in.
249  if (!m_sub_plan_sp && frame_order == eFrameCompareYounger)
251 
252  // If we've stepped in and we are going to stop here, check to see if we
253  // were asked to run past the prologue, and if so do that.
254 
255  if (!m_sub_plan_sp && frame_order == eFrameCompareYounger &&
257  lldb::StackFrameSP curr_frame = thread.GetStackFrameAtIndex(0);
258  if (curr_frame) {
259  size_t bytes_to_skip = 0;
260  lldb::addr_t curr_addr = thread.GetRegisterContext()->GetPC();
261  Address func_start_address;
262 
263  SymbolContext sc = curr_frame->GetSymbolContext(eSymbolContextFunction |
264  eSymbolContextSymbol);
265 
266  if (sc.function) {
267  func_start_address = sc.function->GetAddressRange().GetBaseAddress();
268  if (curr_addr == func_start_address.GetLoadAddress(&GetTarget()))
269  bytes_to_skip = sc.function->GetPrologueByteSize();
270  } else if (sc.symbol) {
271  func_start_address = sc.symbol->GetAddress();
272  if (curr_addr == func_start_address.GetLoadAddress(&GetTarget()))
273  bytes_to_skip = sc.symbol->GetPrologueByteSize();
274  }
275 
276  if (bytes_to_skip == 0 && sc.symbol) {
277  const Architecture *arch = GetTarget().GetArchitecturePlugin();
278  if (arch) {
279  Address curr_sec_addr;
281  curr_sec_addr);
282  bytes_to_skip = arch->GetBytesToSkip(*sc.symbol, curr_sec_addr);
283  }
284  }
285 
286  if (bytes_to_skip != 0) {
287  func_start_address.Slide(bytes_to_skip);
289  LLDB_LOGF(log, "Pushing past prologue ");
290 
292  false, func_start_address, true, m_status);
293  }
294  }
295  }
296  }
297 
298  if (!m_sub_plan_sp) {
299  m_no_more_plans = true;
300  SetPlanComplete();
301  return true;
302  } else {
303  m_no_more_plans = false;
304  m_sub_plan_sp->SetPrivate(true);
305  return false;
306  }
307 }
308 
310  auto name_ref = llvm::StringRef::withNullAsEmpty(name);
311  if (m_avoid_regexp_up)
313  else
314  m_avoid_regexp_up = std::make_unique<RegularExpression>(name_ref);
315 }
316 
318  // TODO: Should we test this for sanity?
319  ThreadPlanStepInRange::s_default_flag_values = new_value;
320 }
321 
323  StackFrame *frame = GetThread().GetStackFrameAtIndex(0).get();
324 
325  // Check the library list first, as that's cheapest:
326  bool libraries_say_avoid = false;
327 
328  FileSpecList libraries_to_avoid(GetThread().GetLibrariesToAvoid());
329  size_t num_libraries = libraries_to_avoid.GetSize();
330  if (num_libraries > 0) {
331  SymbolContext sc(frame->GetSymbolContext(eSymbolContextModule));
332  FileSpec frame_library(sc.module_sp->GetFileSpec());
333 
334  if (frame_library) {
335  for (size_t i = 0; i < num_libraries; i++) {
336  const FileSpec &file_spec(libraries_to_avoid.GetFileSpecAtIndex(i));
337  if (FileSpec::Match(file_spec, frame_library)) {
338  libraries_say_avoid = true;
339  break;
340  }
341  }
342  }
343  }
344  if (libraries_say_avoid)
345  return true;
346 
347  const RegularExpression *avoid_regexp_to_use = m_avoid_regexp_up.get();
348  if (avoid_regexp_to_use == nullptr)
349  avoid_regexp_to_use = GetThread().GetSymbolsToAvoidRegexp();
350 
351  if (avoid_regexp_to_use != nullptr) {
352  SymbolContext sc = frame->GetSymbolContext(
353  eSymbolContextFunction | eSymbolContextBlock | eSymbolContextSymbol);
354  if (sc.symbol != nullptr) {
355  const char *frame_function_name =
356  sc.GetFunctionName(Mangled::ePreferDemangledWithoutArguments)
357  .GetCString();
358  if (frame_function_name) {
359  llvm::SmallVector<llvm::StringRef, 2> matches;
360  bool return_value =
361  avoid_regexp_to_use->Execute(frame_function_name, &matches);
362  if (return_value && matches.size() > 1) {
363  std::string match = matches[1].str();
365  "Stepping out of function \"%s\" because it matches "
366  "the avoid regexp \"%s\" - match substring: \"%s\".",
367  frame_function_name,
368  avoid_regexp_to_use->GetText().str().c_str(),
369  match.c_str());
370  }
371  return return_value;
372  }
373  }
374  }
375  return false;
376 }
377 
379  ThreadPlan *current_plan, Flags &flags, FrameComparison operation,
380  Status &status, void *baton) {
381  bool should_stop_here = true;
382  StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get();
384 
385  // First see if the ThreadPlanShouldStopHere default implementation thinks we
386  // should get out of here:
388  current_plan, flags, operation, status, baton);
389  if (!should_stop_here)
390  return false;
391 
392  if (should_stop_here && current_plan->GetKind() == eKindStepInRange &&
393  operation == eFrameCompareYounger) {
394  ThreadPlanStepInRange *step_in_range_plan =
395  static_cast<ThreadPlanStepInRange *>(current_plan);
396  if (step_in_range_plan->m_step_into_target) {
397  SymbolContext sc = frame->GetSymbolContext(
398  eSymbolContextFunction | eSymbolContextBlock | eSymbolContextSymbol);
399  if (sc.symbol != nullptr) {
400  // First try an exact match, since that's cheap with ConstStrings.
401  // Then do a strstr compare.
402  if (step_in_range_plan->m_step_into_target == sc.GetFunctionName()) {
403  should_stop_here = true;
404  } else {
405  const char *target_name =
406  step_in_range_plan->m_step_into_target.AsCString();
407  const char *function_name = sc.GetFunctionName().AsCString();
408 
409  if (function_name == nullptr)
410  should_stop_here = false;
411  else if (strstr(function_name, target_name) == nullptr)
412  should_stop_here = false;
413  }
414  if (log && !should_stop_here)
415  LLDB_LOGF(log,
416  "Stepping out of frame %s which did not match step into "
417  "target %s.",
418  sc.GetFunctionName().AsCString(),
419  step_in_range_plan->m_step_into_target.AsCString());
420  }
421  }
422 
423  if (should_stop_here) {
424  ThreadPlanStepInRange *step_in_range_plan =
425  static_cast<ThreadPlanStepInRange *>(current_plan);
426  // Don't log the should_step_out here, it's easier to do it in
427  // FrameMatchesAvoidCriteria.
428  should_stop_here = !step_in_range_plan->FrameMatchesAvoidCriteria();
429  }
430  }
431 
432  return should_stop_here;
433 }
434 
436  // We always explain a stop. Either we've just done a single step, in which
437  // case we'll do our ordinary processing, or we stopped for some reason that
438  // isn't handled by our sub-plans, in which case we want to just stop right
439  // away. In general, we don't want to mark the plan as complete for
440  // unexplained stops. For instance, if you step in to some code with no debug
441  // info, so you step out and in the course of that hit a breakpoint, then you
442  // want to stop & show the user the breakpoint, but not unship the step in
443  // plan, since you still may want to complete that plan when you continue.
444  // This is particularly true when doing "step in to target function."
445  // stepping.
446  //
447  // The only variation is that if we are doing "step by running to next
448  // branch" in which case if we hit our branch breakpoint we don't set the
449  // plan to complete.
450 
451  bool return_value = false;
452 
453  if (m_virtual_step) {
454  return_value = true;
455  } else {
456  StopInfoSP stop_info_sp = GetPrivateStopInfo();
457  if (stop_info_sp) {
458  StopReason reason = stop_info_sp->GetStopReason();
459 
460  if (reason == eStopReasonBreakpoint) {
461  if (NextRangeBreakpointExplainsStop(stop_info_sp)) {
462  return_value = true;
463  }
464  } else if (IsUsuallyUnexplainedStopReason(reason)) {
466  if (log)
467  log->PutCString("ThreadPlanStepInRange got asked if it explains the "
468  "stop for some reason other than step.");
469  return_value = false;
470  } else {
471  return_value = true;
472  }
473  } else
474  return_value = true;
475  }
476 
477  return return_value;
478 }
479 
481  bool current_plan) {
482  m_virtual_step = false;
483  if (resume_state == eStateStepping && current_plan) {
484  Thread &thread = GetThread();
485  // See if we are about to step over a virtual inlined call.
486  bool step_without_resume = thread.DecrementCurrentInlinedDepth();
487  if (step_without_resume) {
489  LLDB_LOGF(log,
490  "ThreadPlanStepInRange::DoWillResume: returning false, "
491  "inline_depth: %d",
492  thread.GetCurrentInlinedDepth());
494 
495  // FIXME: Maybe it would be better to create a InlineStep stop reason, but
496  // then
497  // the whole rest of the world would have to handle that stop reason.
498  m_virtual_step = true;
499  }
500  return !step_without_resume;
501  }
502  return true;
503 }
504 
bool IsUsuallyUnexplainedStopReason(lldb::StopReason)
Definition: ThreadPlan.cpp:164
lldb::StopInfoSP GetPrivateStopInfo()
Definition: ThreadPlan.h:570
ConstString GetFunctionName(Mangled::NamePreference preference=Mangled::ePreferDemangled) const
Find a name of the innermost function for the symbol context.
llvm::raw_ostream & AsRawOstream()
Returns a raw_ostream that forwards the data to this Stream object.
Definition: Stream.h:357
static bool DefaultShouldStopHereCallback(ThreadPlan *current_plan, Flags &flags, lldb::FrameComparison operation, Status &status, void *baton)
A class that represents a running process on the host machine.
const ArchSpec & GetArchitecture() const
Definition: Target.h:942
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
Definition: ConstString.h:223
A stream class that can stream formatted output to a file.
Definition: Stream.h:28
static bool Match(const FileSpec &pattern, const FileSpec &file)
Match FileSpec pattern against FileSpec file.
Definition: FileSpec.cpp:302
void GetDescription(Stream *s, lldb::DescriptionLevel level) override
Print a description of this thread to the stream s.
Defines a symbol context baton that can be handed other debug core functions.
Definition: SymbolContext.h:33
uint32_t GetAddressByteSize() const
Returns the size in bytes of an address of the current architecture.
Definition: ArchSpec.cpp:730
lldb::addr_t GetLoadAddress(Target *target) const
Get the load address.
Definition: Address.cpp:310
bool IsValid() const
Check if a line entry object is valid.
Definition: LineEntry.cpp:47
ValueType Clear(ValueType mask=~static_cast< ValueType >(0))
Clear one or more flags.
Definition: Flags.h:61
void SetupAvoidNoDebug(LazyBool step_in_avoids_code_without_debug_info, LazyBool step_out_avoids_code_without_debug_info)
A file utility class.
Definition: FileSpec.h:56
void SetStopInfo(lldb::StopInfoSP stop_reason_sp)
Definition: ThreadPlan.h:574
Address GetAddress() const
Definition: Symbol.h:73
const char * GetData() const
Definition: StreamString.h:43
virtual lldb::ThreadPlanSP QueueThreadPlanForStepThrough(StackID &return_stack_id, bool abort_other_plans, bool stop_other_threads, Status &status)
Gets the plan used to step through the code that steps from a function call site at the current PC in...
Definition: Thread.cpp:1336
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
Thread & GetThread()
Returns the Thread that is using this thread plan.
Definition: ThreadPlan.cpp:41
Symbol * symbol
The Symbol for a given query.
bool ShouldStop(Event *event_ptr) override
lldb::FrameComparison CompareCurrentFrameToStartFrame()
bool DumpStopContext(Stream *s, bool show_fullpaths) const
Dumps information specific to a process that stops at this line entry to the supplied stream s...
Definition: LineEntry.cpp:51
const SymbolContext & GetSymbolContext(lldb::SymbolContextItem resolve_scope)
Provide a SymbolContext for this StackFrame&#39;s current pc value.
Definition: StackFrame.cpp:274
Function * function
The Function for a given query.
static lldb::StopInfoSP CreateStopReasonToTrace(Thread &thread)
Definition: StopInfo.cpp:1120
uint32_t GetPrologueByteSize()
Get the size of the prologue instructions for this function.
Definition: Function.cpp:528
StopReason
Thread stop reasons.
bool Slide(int64_t offset)
Definition: Address.h:436
ThreadPlanKind GetKind() const
Definition: ThreadPlan.h:472
llvm::StringRef GetText() const
Access the regular expression text.
void DumpAddress(llvm::raw_ostream &s, uint64_t addr, uint32_t addr_size, const char *prefix=nullptr, const char *suffix=nullptr)
Output an address value to this stream.
Definition: Stream.cpp:81
Log * GetLogIfAllCategoriesSet(uint32_t mask)
Definition: Logging.cpp:58
SectionLoadList & GetSectionLoadList()
Definition: Target.h:1013
StateType
Process and Thread States.
ThreadPlanStepInRange(Thread &thread, const AddressRange &range, const SymbolContext &addr_context, lldb::RunMode stop_others, LazyBool step_in_avoids_code_without_debug_info, LazyBool step_out_avoids_code_without_debug_info)
virtual lldb::RegisterContextSP GetRegisterContext()=0
bool DoWillResume(lldb::StateType resume_state, bool current_plan) override
bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr, bool allow_section_end=false) const
uint32_t GetCurrentInlinedDepth()
Definition: Thread.h:409
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
Definition: Stream.cpp:107
bool Success() const
Test for success condition.
Definition: Status.cpp:288
bool DoPlanExplainsStop(Event *event_ptr) override
FrameComparison
This is the return value for frame comparisons.
Process or thread is in the process of stepping and can not be examined.
A section + offset based address class.
Definition: Address.h:59
ValueType Set(ValueType mask)
Set one or more flags by logical OR&#39;ing mask with the current flags.
Definition: Flags.h:73
void SetPlanComplete(bool success=true)
Definition: ThreadPlan.cpp:65
#define LLDB_LOGF(log,...)
Definition: Log.h:249
size_t PutChar(char ch)
Definition: Stream.cpp:104
static bool DefaultShouldStopHereCallback(ThreadPlan *current_plan, Flags &flags, lldb::FrameComparison operation, Status &status, void *baton)
A class to manage flags.
Definition: Flags.h:22
uint64_t addr_t
Definition: lldb-types.h:83
const RegularExpression * GetSymbolsToAvoidRegexp()
The regular expression returned determines symbols that this thread won&#39;t stop in during "step-in" op...
Definition: Thread.cpp:117
virtual lldb::ThreadPlanSP QueueThreadPlanForRunToAddress(bool abort_other_plans, Address &target_addr, bool stop_other_threads, Status &status)
Gets the plan used to continue from the current PC.
Definition: Thread.cpp:1349
const char * GetCString() const
Get the string value as a C string.
Definition: ConstString.h:246
bool NextRangeBreakpointExplainsStop(lldb::StopInfoSP stop_info_sp)
void PutCString(const char *cstr)
Definition: Log.cpp:117
LineEntry line_entry
The LineEntry for a given query.
Definition: SBAddress.h:15
lldb::ThreadPlanSP CheckShouldStopHereAndQueueStepOut(lldb::FrameComparison operation, Status &status)
RunMode
Thread Run Modes.
Architecture * GetArchitecturePlugin() const
Definition: Target.h:973
uint32_t GetPrologueByteSize()
Definition: Symbol.cpp:260
Address & GetBaseAddress()
Get accessor for the base address of the range.
Definition: AddressRange.h:210
const char * AsCString(const char *default_error_str="unknown error") const
Get the error string associated with the current error.
Definition: Status.cpp:131
bool Execute(llvm::StringRef string, llvm::SmallVectorImpl< llvm::StringRef > *matches=nullptr) const
Execute a regular expression match using the compiled regular expression that is already in this obje...
virtual lldb::StackFrameSP GetStackFrameAtIndex(uint32_t idx)
Definition: Thread.h:398
const AddressRange & GetAddressRange()
Definition: Function.h:457
bool GetStepOutAvoidsNoDebug() const
Definition: Thread.cpp:143
virtual size_t GetBytesToSkip(Symbol &func, const Address &curr_addr) const
This method is used to get the number of bytes that should be skipped, from function start address...
Definition: Architecture.h:48
#define LIBLLDB_LOG_STEP
Definition: Logging.h:21
A section + offset based address range class.
Definition: AddressRange.h:25
static void SetDefaultFlagValue(uint32_t new_value)
std::unique_ptr< RegularExpression > m_avoid_regexp_up
This base class provides an interface to stack frames.
Definition: StackFrame.h:40
An error handling class.
Definition: Status.h:44
bool GetStepInAvoidsNoDebug() const
Definition: Thread.cpp:137
bool DecrementCurrentInlinedDepth()
Definition: Thread.h:405