I have eliminated RTTI from LLDB!
Also added a shell script build phase that fixes the headers in
LLDB.framework.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105899 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBThread.cpp b/source/API/SBThread.cpp
index f0cc46d..a220cd8 100644
--- a/source/API/SBThread.cpp
+++ b/source/API/SBThread.cpp
@@ -325,7 +325,8 @@
eStepTypeOver,
sc.line_entry.range,
sc,
- stop_other_threads);
+ stop_other_threads,
+ false);
}
else
@@ -354,24 +355,14 @@
if (frame_sp && frame_sp->HasDebugInformation ())
{
+ bool avoid_code_without_debug_info = true;
SymbolContext sc(frame_sp->GetSymbolContext(eSymbolContextEverything));
- ThreadPlan *new_plan = m_lldb_object_sp->QueueThreadPlanForStepRange (abort_other_plans,
- eStepTypeInto,
- sc.line_entry.range,
- sc,
- stop_other_threads);
- if (new_plan)
- {
- ThreadPlanStepInRange *real_plan = dynamic_cast<ThreadPlanStepInRange *> (new_plan);
- if (real_plan)
- {
- bool avoid_no_debug = true;
- if (avoid_no_debug)
- real_plan->GetFlags().Set (ThreadPlanShouldStopHere::eAvoidNoDebug);
- else
- real_plan->GetFlags().Clear (ThreadPlanShouldStopHere::eAvoidNoDebug);
- }
- }
+ m_lldb_object_sp->QueueThreadPlanForStepRange (abort_other_plans,
+ eStepTypeInto,
+ sc.line_entry.range,
+ sc,
+ stop_other_threads,
+ avoid_code_without_debug_info);
}
else
{