[PATCH] D101236: [ASTImporter] Import definitions required for layout of [[no_unique_address]] from LLDB
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 26 04:25:40 PDT 2021
martong added a comment.
To provide unit tests that mimic the LLDB setup, a good starting point could be an existing test case:
struct LLDBLookupTest : ASTImporterOptionSpecificTestBase {
You can create a similar descendant class, but with the MinimalImport flag set to true. Then you could call `ImportDefinition` subsequently after an `Import` call. Perhaps that could trigger your assertion.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101236/new/
https://reviews.llvm.org/D101236
More information about the cfe-commits
mailing list