labath added a comment. In D67994#1691641 <https://reviews.llvm.org/D67994#1691641>, @shafik wrote:
> In D67994#1683934 <https://reviews.llvm.org/D67994#1683934>, @labath wrote: > > > IOW, I was not saying you should use "image dump ast" to write the test you > > wanted to write. I was merely saying that we should try to make "lldb-test > > -dump-ast" use the same dumping code as "image dump ast" does (assuming the > > latter outputs the kind of data that you need, but it seems to me that it > > does...). "image dump ast" can remain lazy, and only show the things that > > have been parsed so far (which is also useful sometimes), while "lldb-test" > > can do whatever it takes to parse everything (I would hope that is merely > > calling Module::ParseAllDebugSymbols). > > > In order to reuse the functionality we would need to import the complete > clang ASTs to the scratch AST context and that would end up being a lot more > work then the current approach. So I stuck with the current approach. I am sorry, all of these ast contexts are still fairly confusing to me, so I am not sure what this actually means. Can you elaborate? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67994/new/ https://reviews.llvm.org/D67994 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits