[Lldb-commits] [PATCH] D43592: [DWARFASTParserClang] Always complete types read from a module/PCH AST context.

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 22 09:59:14 PST 2018

friss added a comment.

Note that this code path is only triggered when importing debug info from a different AST context, it is not the common codepath. The issue in this case is that LLDB is crashing when using the incomplete Decl as the DeclContext for another one. I guess I could add calls to RequireCompleteType before every use of a DeclContext. But that would be costly too I think, mapping from a DeclContext to a CompilerType is not trivial.


More information about the lldb-commits mailing list