forked from OSchip/llvm-project
[lldb] Remove unused ThreadPlanStack::GetStackOfKind (NFC)
This function isn't used. Differential Revision: https://reviews.llvm.org/D95411
This commit is contained in:
parent
9190f17a7c
commit
90b8ae016b
|
@ -35,8 +35,6 @@ public:
|
|||
ThreadPlanStack(const Thread &thread, bool make_empty = false);
|
||||
~ThreadPlanStack() {}
|
||||
|
||||
enum StackKind { ePlans, eCompletedPlans, eDiscardedPlans };
|
||||
|
||||
using PlanStack = std::vector<lldb::ThreadPlanSP>;
|
||||
|
||||
void DumpThreadPlans(Stream &s, lldb::DescriptionLevel desc_level,
|
||||
|
@ -102,8 +100,6 @@ public:
|
|||
void ClearThreadCache();
|
||||
|
||||
private:
|
||||
const PlanStack &GetStackOfKind(ThreadPlanStack::StackKind kind) const;
|
||||
|
||||
void PrintOneStack(Stream &s, llvm::StringRef stack_name,
|
||||
const PlanStack &stack, lldb::DescriptionLevel desc_level,
|
||||
bool include_internal) const;
|
||||
|
|
|
@ -379,19 +379,6 @@ void ThreadPlanStack::WillResume() {
|
|||
m_discarded_plans.clear();
|
||||
}
|
||||
|
||||
const ThreadPlanStack::PlanStack &
|
||||
ThreadPlanStack::GetStackOfKind(ThreadPlanStack::StackKind kind) const {
|
||||
switch (kind) {
|
||||
case ePlans:
|
||||
return m_plans;
|
||||
case eCompletedPlans:
|
||||
return m_completed_plans;
|
||||
case eDiscardedPlans:
|
||||
return m_discarded_plans;
|
||||
}
|
||||
llvm_unreachable("Invalid StackKind value");
|
||||
}
|
||||
|
||||
void ThreadPlanStackMap::Update(ThreadList ¤t_threads,
|
||||
bool delete_missing,
|
||||
bool check_for_new) {
|
||||
|
|
Loading…
Reference in New Issue