summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/ftime-report-template-decl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve checks in test/Frontend/ftime-report-template-decl.cppBjorn Pettersson2018-04-231-2/+2
| | | | | | | | | | | | | | | | | Some buildbots seems to have problems with the CHECKs in test/Frontend/ftime-report-template-decl.cpp. I this the problem is that the order in which timers are printed is based on consumed wall time. So there is no guarantee in which order the timers are printed. This patch uses CHECK-DAG instead of CHECK to make the test case less sensitive to the actual time used by the different passes. The (sometimes) failing test cases where introduced in trunk@330571. llvm-svn: 330622
* Use special new Clang flag 'FrontendTimesIsEnabled' instead of ↵Andrew V. Tischenko2018-04-231-0/+159
| | | | | | | | 'llvm::TimePassesIsEnabled' inside -ftime-report feature. Differential Revision: https://reviews.llvm.org/D45619 llvm-svn: 330571
* I removed the failed test.Andrew V. Tischenko2018-04-101-147/+0
| | | | llvm-svn: 329714
* The test was fixed.Andrew V. Tischenko2018-04-101-1/+1
| | | | llvm-svn: 329693
* -ftime-report switch support in Clang.Andrew V. Tischenko2018-04-101-0/+147
The current support of the feature produces only 2 lines in report: -Some general Code Generation Time; -Total time of Backend Consumer actions. This patch extends Clang time report with new lines related to Preprocessor, Include Filea Search, Parsing, etc. Differential Revision: https://reviews.llvm.org/D43578 llvm-svn: 329684
OpenPOWER on IntegriCloud