Add a target setting (target.use-fast-stepping) to control using the "run to next branch" stepping algorithm.

llvm-svn: 176958
This commit is contained in:
Jim Ingham
2013-03-13 17:58:04 +00:00
parent 8a68b95d9e
commit 17d023f6ac
3 changed files with 15 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ ThreadPlanStepRange::ThreadPlanStepRange (ThreadPlanKind kind,
m_first_run_event (true),
m_use_fast_step(false)
{
m_use_fast_step = GetTarget().GetUseFastStepping();
AddRange(range);
m_stack_id = m_thread.GetStackFrameAtIndex(0)->GetStackID();
}