File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 24
24
#include " swift/AST/ASTMangler.h"
25
25
#include " swift/AST/GenericEnvironment.h"
26
26
#include " swift/AST/ProtocolConformance.h"
27
+ #include " swift/AST/PrettyStackTrace.h"
27
28
#include " swift/AST/SubstitutionMap.h"
28
29
#include " swift/AST/TypeMemberVisitor.h"
29
30
#include " swift/SIL/FormalLinkage.h"
@@ -410,6 +411,10 @@ class SILGenConformance : public SILGenWitnessTable<SILGenConformance> {
410
411
if (!Conformance)
411
412
return nullptr ;
412
413
414
+ PrettyStackTraceConformance trace (SGM.getASTContext (),
415
+ " generating SIL witness table" ,
416
+ Conformance);
417
+
413
418
auto *proto = Conformance->getProtocol ();
414
419
visitProtocolDecl (proto);
415
420
@@ -773,6 +778,10 @@ class SILGenSelfConformanceWitnessTable
773
778
}
774
779
775
780
void emit () {
781
+ PrettyStackTraceConformance trace (SGM.getASTContext (),
782
+ " generating SIL witness table" ,
783
+ conformance);
784
+
776
785
// Add entries for all the requirements.
777
786
visitProtocolDecl (conformance->getProtocol ());
778
787
You can’t perform that action at this time.
0 commit comments