Author: Vedant Kumar Date: 2020-11-10T16:15:03-08:00 New Revision: 04cd6c62176ce027af2d343044b84ce5d317aee7
URL: https://github.com/llvm/llvm-project/commit/04cd6c62176ce027af2d343044b84ce5d317aee7 DIFF: https://github.com/llvm/llvm-project/commit/04cd6c62176ce027af2d343044b84ce5d317aee7.diff LOG: [ThreadPlan] Delete unused ThreadPlanStepInRange code, NFC Added: Modified: lldb/include/lldb/Target/ThreadPlanStepInRange.h lldb/source/Target/ThreadPlanStepInRange.cpp Removed: ################################################################################ diff --git a/lldb/include/lldb/Target/ThreadPlanStepInRange.h b/lldb/include/lldb/Target/ThreadPlanStepInRange.h index 59b5721998b5..a26b0fb87b3a 100644 --- a/lldb/include/lldb/Target/ThreadPlanStepInRange.h +++ b/lldb/include/lldb/Target/ThreadPlanStepInRange.h @@ -26,13 +26,6 @@ class ThreadPlanStepInRange : public ThreadPlanStepRange, LazyBool step_in_avoids_code_without_debug_info, LazyBool step_out_avoids_code_without_debug_info); - ThreadPlanStepInRange(Thread &thread, const AddressRange &range, - const SymbolContext &addr_context, - const char *step_into_function_name, - lldb::RunMode stop_others, - LazyBool step_in_avoids_code_without_debug_info, - LazyBool step_out_avoids_code_without_debug_info); - ~ThreadPlanStepInRange() override; void GetDescription(Stream *s, lldb::DescriptionLevel level) override; @@ -78,17 +71,6 @@ class ThreadPlanStepInRange : public ThreadPlanStepRange, bool FrameMatchesAvoidCriteria(); private: - friend lldb::ThreadPlanSP Thread::QueueThreadPlanForStepOverRange( - bool abort_other_plans, const AddressRange &range, - const SymbolContext &addr_context, lldb::RunMode stop_others, - Status &status, LazyBool avoid_code_without_debug_info); - friend lldb::ThreadPlanSP Thread::QueueThreadPlanForStepInRange( - bool abort_other_plans, const AddressRange &range, - const SymbolContext &addr_context, const char *step_in_target, - lldb::RunMode stop_others, Status &status, - LazyBool step_in_avoids_code_without_debug_info, - LazyBool step_out_avoids_code_without_debug_info); - void SetupAvoidNoDebug(LazyBool step_in_avoids_code_without_debug_info, LazyBool step_out_avoids_code_without_debug_info); // Need an appropriate marker for the current stack so we can tell step out diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp index c5f81d6665a1..a03bd93ac638 100644 --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -47,22 +47,6 @@ ThreadPlanStepInRange::ThreadPlanStepInRange( step_out_avoids_code_without_debug_info); } -ThreadPlanStepInRange::ThreadPlanStepInRange( - Thread &thread, const AddressRange &range, - const SymbolContext &addr_context, const char *step_into_target, - lldb::RunMode stop_others, LazyBool step_in_avoids_code_without_debug_info, - LazyBool step_out_avoids_code_without_debug_info) - : ThreadPlanStepRange(ThreadPlan::eKindStepInRange, - "Step Range stepping in", thread, range, addr_context, - stop_others), - ThreadPlanShouldStopHere(this), m_step_past_prologue(true), - m_virtual_step(false), m_step_into_target(step_into_target) { - SetCallbacks(); - SetFlagsToDefault(); - SetupAvoidNoDebug(step_in_avoids_code_without_debug_info, - step_out_avoids_code_without_debug_info); -} - ThreadPlanStepInRange::~ThreadPlanStepInRange() = default; void ThreadPlanStepInRange::SetupAvoidNoDebug( _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits