File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1440,6 +1440,8 @@ void Serializer::writeASTBlockEntity(
14401440 const NormalProtocolConformance *conformance) {
14411441 using namespace decls_block ;
14421442
1443+ PrettyStackTraceConformance trace (" serializing" , conformance);
1444+
14431445 // The conformance must be complete, or we can't serialize it.
14441446 assert (conformance->isComplete () || allowCompilerErrors ());
14451447 assert (NormalConformancesToSerialize.hasRef (conformance));
@@ -1460,6 +1462,9 @@ void Serializer::writeASTBlockEntity(
14601462 });
14611463
14621464 conformance->forEachValueWitness ([&](ValueDecl *req, Witness witness) {
1465+ PrettyStackTraceDecl traceValueWitness (
1466+ " serializing value witness for requirement" , req);
1467+
14631468 ++numValueWitnesses;
14641469 data.push_back (addDeclRef (req));
14651470 data.push_back (addDeclRef (witness.getDecl ()));
You can’t perform that action at this time.
0 commit comments