[Lldb-commits] [PATCH] D52247: Refactor FindVariable() core functionality into StackFrame out of SBFrame

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 19 16:13:32 PDT 2018


clayborg accepted this revision.
clayborg added a comment.
This revision is now accepted and ready to land.

Just a documentation suggestion, but looks good.



================
Comment at: include/lldb/Target/StackFrame.h:508
+  /// Attempt to reconstruct the ValueObject for a variable with a given \a name
+  /// from within the current StackFrame, within the current block.
+  ///
----------------
We might want to say how the search is done. Something like "The search for the variable starts in the deepest block corresponding to the current PC in the stack frame and traverse through all parent blocks stopping at inlined function boundaries"


https://reviews.llvm.org/D52247





More information about the lldb-commits mailing list