Skip to content

Commit bcb3262

Browse files
authored
Merge pull request swiftlang#32463 from gottesmm/pr-5c6b13d738cbb58bfc76924a3d70f6194406f6b0
[sil-opt] Add EnablePrettyStackTraceOnSigInfoForThisThread like we do in the Frontend.
2 parents 7314edd + da797fe commit bcb3262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/sil-opt/SILOpt.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ void anchorForGetMainExecutable() {}
299299
int main(int argc, char **argv) {
300300
PROGRAM_START(argc, argv);
301301
INITIALIZE_LLVM();
302+
llvm::EnablePrettyStackTraceOnSigInfoForThisThread();
302303

303304
llvm::cl::ParseCommandLineOptions(argc, argv, "Swift SIL optimizer\n");
304305

0 commit comments

Comments
 (0)