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
This commit is contained in:
Stephane Sezer 2016-07-12 01:43:46 +00:00
parent 46b34fe315
commit f54fe041f0
1 changed files with 6 additions and 5 deletions

View File

@ -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: