HomePhabricator

[DWARFASTParserClang] Complete external record types before using them as a…

Description

[DWARFASTParserClang] Complete external record types before using them as a decl context.

Summary:
When in a gmodules-like debugging scenario, you can have a parent decl context
that gets imported from an external AST. When this happens, we must be careful
to complete this type before adding children to it, otherwise it sometimes
results in a crash.

Reviewers: clayborg, jingham

Subscribers: aprantl, JDevlieghere, lldb-commits

Differential Revision: https://reviews.llvm.org/D43592

Details

Committed
frissMar 16 2018, 3:12 PM
Differential Revision
D43592: [DWARFASTParserClang] Always complete types read from a module/PCH AST context.
Branches
Unknown
Tags
Unknown