[Lldb-commits] [PATCH] D59826: [expression] Explicitly build the lookup table of any TagDecl's context

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 4 01:40:44 PDT 2019


labath added a comment.

In D59826#1452771 <https://reviews.llvm.org/D59826#1452771>, @martong wrote:

> In D59826#1451536 <https://reviews.llvm.org/D59826#1451536>, @clayborg wrote:
>
> > Any way to dump the AST in a test to verify we don't create multiple?
>
>
> I think I might be able to use the `log` object to dump the AST and then from python it would be possible to check for duplicates. Is that a good direction?


note there's also  a new "target modules dump ast" command, which might be of help here. You can see it in action in the NativePDB tests (lit/SymbolFile/NativePDB).


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59826/new/

https://reviews.llvm.org/D59826





More information about the lldb-commits mailing list