[Lldb-commits] [PATCH] D44603: [lldb] Introduce StackFrameRecognizer

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 14 18:59:39 PDT 2018


jingham added a comment.

This is going as I imagined it should, looks great!

We probably want to turn this on by default for "frame var" or no one will ever discover it.  The IDE folks can decide on their own what to do from the SB API's.  Since you are doing module filtering and this only triggers when you explicitly run "frame var" I think having it on by default will not be a big deal.

Does this work with "frame var paths" as well?  That is, if I do:

(lldb) frame var
(struct Foo *) recognized_variable = 0x12345

Will we find it again if I do:

(lldb) frame var *recognized_variable

or

(lldb) frame var recognized_variable.some_interesting_ivar

I think this should just work, but it's worth checking.


https://reviews.llvm.org/D44603





More information about the lldb-commits mailing list