[Lldb-commits] [PATCH] D50478: Add support for artificial tail call frames

Vedant Kumar via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 20 17:12:30 PDT 2018


vsk planned changes to this revision.
vsk added a comment.

In https://reviews.llvm.org/D50478#1241264, @jingham wrote:

> Can you add a test that makes sure that when you stop in a frame that has artificial frames above it, and then you do "finish", or "step out" past the end of frame 0, the presence of the artificial frame doesn't confuse us?  I am pretty sure that will just work, but it would be good to make sure that it actually does.
>
> Really "step out past the end of the frame" isn't really necessary, since that doesn't pay any attention to the frames above it, it just runs the code till the frame ID changes. But "finish" does look at the parent frame, so it might get confused.


Great suggestion. The 'finish' command doesn't appear to understand artificial frames, and allows program execution to continue past the point where a tail call is made. I'll try and teach it to "look past" artificial frames.


https://reviews.llvm.org/D50478





More information about the lldb-commits mailing list