Re-enable fast stepping for arm targets. The issue being worked

around was fixed in llvm commit r186846.
<rdar://problem/14489274> 

llvm-svn: 187620
This commit is contained in:
Jason Molenda
2013-08-01 21:50:20 +00:00
parent f8f91b8976
commit 975abffee7

View File

@@ -54,11 +54,7 @@ ThreadPlanStepRange::ThreadPlanStepRange (ThreadPlanKind kind,
m_first_run_event (true),
m_use_fast_step(false)
{
llvm::Triple::ArchType arch_type = GetTarget().GetArchitecture().GetMachine();
if (arch_type == llvm::Triple::arm || arch_type == llvm::Triple::thumb)
m_use_fast_step = false;
else
m_use_fast_step = GetTarget().GetUseFastStepping();
m_use_fast_step = GetTarget().GetUseFastStepping();
AddRange(range);
m_stack_id = m_thread.GetStackFrameAtIndex(0)->GetStackID();
}