Graydon Hoare
9b45a643a3
[Driver] Adjust expected driver tracing output in tests.
2017-02-28 15:17:22 -08:00
Saleem Abdulrasool
2f21735256
adjust for SVN r286524 and SVN r287369
...
Groups are required for Timers after SVN r286524. SVN r287369 requires that
timers have short names and long descriptions. Adjust the API usage
accordingly. Reorder some words to make some more sense as a description.
2016-12-04 19:35:30 -08:00
David Farler
b7d17b25ba
Rename -parse flag to -typecheck
...
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00
Jordan Rose
3e4a78f212
[test] Fix three Driver tests under cross-compilation. ( #5694 )
...
The driver exits out early if there's no stdlib for the target you're
compiling for, and these tests didn't pass a target for one reason or
another.
rdar://problem/29173390
2016-11-09 15:49:28 -08:00
Brian Gesiak
ba8009bfa3
[SR-1788] Add -driver-time-compilation option ( #4367 )
...
Add an option to print the time it takes each driver task to complete.
Here's an example of the output:
```
$ swiftc -driver-time-compilation \
-emit-library -module-name Crispix \
Crispix/A.swift Crispix/B.swift Crispix/C.swift
===-------------------------------------------------------------------------===
Driver Time Compilation
===-------------------------------------------------------------------------===
Total Execution Time: 0.0000 seconds (0.0875 wall clock)
---Wall Time--- --- Name ---
0.0245 ( 28.0%) link /path/to/Crispix/A.swift /path/to/Crispix/B.swift /path/to/Crispix/C.swift
0.0211 ( 24.1%) compile /path/to/Crispix/A.swift
0.0209 ( 23.9%) compile /path/to/Crispix/B.swift
0.0176 ( 20.1%) compile /path/to/Crispix/C.swift
0.0035 ( 4.0%) swift-autolink-extract /path/to/Crispix/A.swift /path/to/Crispix/B.swift /path/to/Crispix/C.swift
0.0875 (100.0%) Total
```
2016-08-23 13:35:48 -07:00