This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Fix current-stage compiler stats output
Before be945b5, --stats output would print the current stage name while it was executing. This is useful for debugging compiler hangs and tracking the progress of the compiler without --progress. After that commit, the progress output would only print after the stage had fully completed, meaning you had to rely on --progress to track compiler progress. This patch fixes this regression by printing the stage name (with no times or memory figures) before the stage starts and resetting the cursor to the beginning of the line. If both --progress and --stats are specified, this pre-stage line isn't printed as it would just be overwritten by --progress output anyway.
- Loading branch information
Showing 1 changed file with 9 additions and 4 deletions.