Remove -debug-time-compilation

This flag no longer does anything now that the unified statistics
reporting infrastructure exists. It is better to use
-driver-time-compilation to see a bird's eye view of timing statistics
for frontend jobs, and -stats-output-dir to see a down-and-dirty view of
everything including performance counters.
This commit is contained in:
Robert Widmann
2020-07-16 17:25:04 -07:00
parent 5141219a69
commit 2198d7174c
5 changed files with 2 additions and 41 deletions

View File

@@ -2232,9 +2232,6 @@ int swift::performFrontend(ArrayRef<const char *> Args,
PDC.setFormattingStyle(
Invocation.getDiagnosticOptions().PrintedFormattingStyle);
if (Invocation.getFrontendOptions().DebugTimeCompilation)
SharedTimer::enableCompilationTimers();
if (Invocation.getFrontendOptions().PrintStats) {
llvm::EnableStatistics();
}