[Lldb-commits] [PATCH] D12304: Add scope tree for variable searching
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 27 13:39:22 PDT 2015
clayborg requested changes to this revision.
clayborg added a comment.
This revision now requires changes to proceed.
This seems to be very variable specific.
I would like to see if be able to ask a lldb_private::Block or a lldb_private::Compile and to provide a list of CompilerDeclContext objects that can be then searched by the expression parser in FindExternalVisibleDecls by searching these decl contexts starting with the block and each block's parent and then checking the compile unit. Then we don't need any variable trees as we can currently request thing (functions, globals, and other things) that have a specific CompilerDeclContext as their parents.
Basically if we implement this, I would rather not see it just be for variables. I want functions, variables, and more to work as expected.
http://reviews.llvm.org/D12304
More information about the lldb-commits
mailing list