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

Gabor Marton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 26 08:57:08 PST 2018


martong added a comment.

> Can you write an lldb test for this?

There is already an existing test for that:

  2: test_expr_dwarf (TestSharedLib.SharedLibTestCase)
     Test that types work when defined in a shared library and forward-declared in the main executable ... python: ../../git/llvm/tools/clang/include/clang/AST/DeclBase.h:2298: void clang::DeclContext::setMustBuildLookupTable(): Assertion `this == getPrimaryContext() && "should only be called on primary context"' failed.


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