From 332edcc6bd1dc1fd8fc33a0fb2f215a996d967fa Mon Sep 17 00:00:00 2001 From: Tatyana Krasnukha Date: Mon, 16 Mar 2020 16:19:22 +0300 Subject: [PATCH] [lldb] Remove unimplemented StackFrame::BehavesLikeZerothFrame Commit [1] added a declaration of function-member StackFrame::BehavesLikeZerothFrame but hasn't added an implementation for the function. This commit removes this declation, because the function is not used anywhere. [1] 31e6dbe1c6a6 Fix PC adjustment in StackFrame::GetSymbolContext Differential Revision: https://reviews.llvm.org/D75979 Patch by Anton Kolesov --- lldb/include/lldb/Target/StackFrame.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lldb/include/lldb/Target/StackFrame.h b/lldb/include/lldb/Target/StackFrame.h index c21916be44ae..667428e7d749 100644 --- a/lldb/include/lldb/Target/StackFrame.h +++ b/lldb/include/lldb/Target/StackFrame.h @@ -367,12 +367,6 @@ public: /// may have limited support for inspecting variables. bool IsArtificial() const; - /// Query whether this frame behaves like the zeroth frame, in the sense - /// that its pc value might not immediately follow a call (and thus might - /// be the first address of its function). True for actual frame zero as - /// well as any other frame with the same trait. - bool BehavesLikeZerothFrame() const; - /// Query this frame to find what frame it is in this Thread's /// StackFrameList. /// @@ -517,6 +511,11 @@ private: bool m_cfa_is_valid; // Does this frame have a CFA? Different from CFA == // LLDB_INVALID_ADDRESS Kind m_stack_frame_kind; + + // Whether this frame behaves like the zeroth frame, in the sense + // that its pc value might not immediately follow a call (and thus might + // be the first address of its function). True for actual frame zero as + // well as any other frame with the same trait. bool m_behaves_like_zeroth_frame; lldb::VariableListSP m_variable_list_sp; ValueObjectList m_variable_list_value_objects; // Value objects for each