[Lldb-commits] [PATCH] D54863: [ASTImporter] Set MustBuildLookupTable on PrimaryContext

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 26 06:40:18 PST 2018


davide added a comment.

In D54863#1306947 <https://reviews.llvm.org/D54863#1306947>, @martong wrote:

> We have a change in Clang/ASTImporter which causes an LLDB assertion, unless this patch is applied.
>  The related change is https://reviews.llvm.org/D53655
>
> In that patch we change the importer to properly import the redecl chains of `RecordDecl`s. Consequently the `to_tag_decl` here in LLDB may not always be the PrimaryContext anymore, thus we have to explicitly use the primary context.


Can you write an lldb test for this?


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D54863





More information about the lldb-commits mailing list