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.


https://reviews.llvm.org/D43592



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to