Skip to content

Commit d69cea0

Browse files
committed
[SIL] Print AST types with print-module-on-error.
1 parent 714ecbd commit d69cea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/Utils/PrettyStackTrace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void PrettyStackTraceSILFunction::printFunctionInfo(llvm::raw_ostream &out) cons
9696
if (SILPrintOnError)
9797
func->print(out);
9898
if (SILPrintModuleOnError)
99-
func->getModule().print(out);
99+
func->getModule().print(out, func->getModule().getSwiftModule());
100100
}
101101

102102
void PrettyStackTraceSILNode::print(llvm::raw_ostream &out) const {

0 commit comments

Comments
 (0)