[Lldb-commits] [PATCH] D75979: [lldb] Implement StackFrame::BehavesLikeZerothFrame

Anton Kolesov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 03:03:46 PDT 2020


anton.kolesov created this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Commit [1] added a declaration of function-member
StackFrame::BehavesLikeZerothFrame but hasn't added an implementation
for the function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75979

Files:
  lldb/source/Target/StackFrame.cpp


Index: lldb/source/Target/StackFrame.cpp
===================================================================
--- lldb/source/Target/StackFrame.cpp
+++ lldb/source/Target/StackFrame.cpp
@@ -1211,6 +1211,10 @@
   return m_stack_frame_kind == StackFrame::Kind::Artificial;
 }
 
+bool StackFrame::BehavesLikeZerothFrame() const {
+  return m_behaves_like_zeroth_frame;
+}
+
 lldb::LanguageType StackFrame::GetLanguage() {
   CompileUnit *cu = GetSymbolContext(eSymbolContextCompUnit).comp_unit;
   if (cu)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75979.249569.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200311/d17f7eb0/attachment.bin>


More information about the lldb-commits mailing list