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.
lldb-commits mailing list