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(
1440
1440
const NormalProtocolConformance *conformance) {
1441
1441
using namespace decls_block ;
1442
1442
1443
+ PrettyStackTraceConformance trace (" serializing" , conformance);
1444
+
1443
1445
// The conformance must be complete, or we can't serialize it.
1444
1446
assert (conformance->isComplete () || allowCompilerErrors ());
1445
1447
assert (NormalConformancesToSerialize.hasRef (conformance));
@@ -1460,6 +1462,9 @@ void Serializer::writeASTBlockEntity(
1460
1462
});
1461
1463
1462
1464
conformance->forEachValueWitness ([&](ValueDecl *req, Witness witness) {
1465
+ PrettyStackTraceDecl traceValueWitness (
1466
+ " serializing value witness for requirement" , req);
1467
+
1463
1468
++numValueWitnesses;
1464
1469
data.push_back (addDeclRef (req));
1465
1470
data.push_back (addDeclRef (witness.getDecl ()));
You can’t perform that action at this time.
0 commit comments