From f54fe041f06de3d734e93ffcd5fd37d89cab7a6f Mon Sep 17 00:00:00 2001 From: Stephane Sezer Date: Tue, 12 Jul 2016 01:43:46 +0000 Subject: [PATCH] Make ThreadPlanStepInstruction's constructor public. Summary: Some thread plans have public contructors, some others have protected constructors with friend classes. Not sure how these were determined, but this thread plan is going to be required to implement trampoline step-through on Windows. Reviewers: clayborg, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D22230 llvm-svn: 275139 --- lldb/include/lldb/Target/ThreadPlanStepInstruction.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lldb/include/lldb/Target/ThreadPlanStepInstruction.h b/lldb/include/lldb/Target/ThreadPlanStepInstruction.h index da83ecadcae6..27b9bf1133fe 100644 --- a/lldb/include/lldb/Target/ThreadPlanStepInstruction.h +++ b/lldb/include/lldb/Target/ThreadPlanStepInstruction.h @@ -23,6 +23,12 @@ namespace lldb_private { class ThreadPlanStepInstruction : public ThreadPlan { public: + ThreadPlanStepInstruction (Thread &thread, + bool step_over, + bool stop_others, + Vote stop_vote, + Vote run_vote); + ~ThreadPlanStepInstruction() override; void GetDescription(Stream *s, lldb::DescriptionLevel level) override; @@ -37,11 +43,6 @@ public: protected: bool DoPlanExplainsStop(Event *event_ptr) override; - ThreadPlanStepInstruction (Thread &thread, - bool step_over, - bool stop_others, - Vote stop_vote, - Vote run_vote); void SetUpState (); private: