llvm/lldb/source/Target/ThreadPlan.cpp

//===-- ThreadPlan.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Target/ThreadPlan.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/State.h"

usingnamespacelldb;
usingnamespacelldb_private;

// ThreadPlan constructor
ThreadPlan::ThreadPlan(ThreadPlanKind kind, const char *name, Thread &thread,
                       Vote report_stop_vote, Vote report_run_vote)
    :{}

// Destructor
ThreadPlan::~ThreadPlan() = default;

Target &ThreadPlan::GetTarget() {}

const Target &ThreadPlan::GetTarget() const {}

Thread &ThreadPlan::GetThread() {}

bool ThreadPlan::PlanExplainsStop(Event *event_ptr) {}

bool ThreadPlan::IsPlanComplete() {}

void ThreadPlan::SetPlanComplete(bool success) {}

bool ThreadPlan::MischiefManaged() {}

Vote ThreadPlan::ShouldReportStop(Event *event_ptr) {}

Vote ThreadPlan::ShouldReportRun(Event *event_ptr) {}

void ThreadPlan::ClearThreadCache() {}

bool ThreadPlan::StopOthers() {}

void ThreadPlan::SetStopOthers(bool new_value) {}

bool ThreadPlan::WillResume(StateType resume_state, bool current_plan) {}

lldb::user_id_t ThreadPlan::GetNextID() {}

void ThreadPlan::DidPush() {}

void ThreadPlan::DidPop() {}

bool ThreadPlan::OkayToDiscard() {}

lldb::StateType ThreadPlan::RunState() {}

bool ThreadPlan::IsUsuallyUnexplainedStopReason(lldb::StopReason reason) {}

// ThreadPlanNull

ThreadPlanNull::ThreadPlanNull(Thread &thread)
    :{}

ThreadPlanNull::~ThreadPlanNull() = default;

void ThreadPlanNull::GetDescription(Stream *s, lldb::DescriptionLevel level) {}

bool ThreadPlanNull::ValidatePlan(Stream *error) {}

bool ThreadPlanNull::ShouldStop(Event *event_ptr) {}

bool ThreadPlanNull::WillStop() {}

bool ThreadPlanNull::DoPlanExplainsStop(Event *event_ptr) {}

// The null plan is never done.
bool ThreadPlanNull::MischiefManaged() {}

lldb::StateType ThreadPlanNull::GetPlanRunState() {}