[PATCH] D29951: Load lazily the template specialization in multi-module setups.

Richard Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 13:18:33 PDT 2017


rsmith added a comment.

In https://reviews.llvm.org/D29951#750885, @v.g.vassilev wrote:

> In order to create a reasonable test I need to use `-error-on-deserialized-decl` and I hit a bug: https://bugs.llvm.org/show_bug.cgi?id=32988
>
> Richard, could you help me out with the test? Maybe we could trigger this avoiding the abovementioned bug...


You could try to test this using -dump-deserialized-decls instead, but it'd be good to figure out what's going wrong in the above bug :) Nothing in the backtrace looks at all related to -dump-deserialized-decls, but maybe we're messing up our internal state by calling into the DeserializationListeners at an unsafe point during deserialization?


https://reviews.llvm.org/D29951





More information about the cfe-commits mailing list