ChuanqiXu added a comment. In D129748#3660650 <https://reviews.llvm.org/D129748#3660650>, @tahonermann wrote:
> I neglected to explicitly mention in conjunction with my last comment, but > @ChuanqiXu, can you check to see if we are indeed serializing class template > specializations "too early" and, if so, whether delaying such serialization > until a defining point resolves the issue? Personally, the problem is not **serializing** class template specializations "too early". The problem is that we are **deserializing** class template specializations "too early". The key point here is that Modules would read declarations **lazily** for performance reasons. This is a feature of modules. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129748/new/ https://reviews.llvm.org/D129748 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits