Skip to content

Commit ff80326

Browse files
authored
Merge pull request #28373 from apple/revert-28284-SR-11765-pretty-stack-trace
Revert "[FrontEnd] Pretty stack trace indicating running user code"
2 parents fae3590 + b886600 commit ff80326

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

lib/FrontendTool/FrontendTool.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,12 +1337,6 @@ static bool processCommandLineAndRunImmediately(CompilerInvocation &Invocation,
13371337
ProcessCmdLine(opts.ImmediateArgv.begin(), opts.ImmediateArgv.end());
13381338
Instance.setSILModule(std::move(SM));
13391339

1340-
1341-
PrettyStackTraceStringAction trace(
1342-
"running user code",
1343-
MSF.is<SourceFile *>() ? MSF.get<SourceFile *>()->getFilename()
1344-
: MSF.get<ModuleDecl *>()->getModuleFilename());
1345-
13461340
ReturnValue =
13471341
RunImmediately(Instance, CmdLine, IRGenOpts, Invocation.getSILOptions());
13481342
return Instance.getASTContext().hadError();

test/Frontend/crash-in-user-code.swift

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)