[Support][Test] Time profiler: add regression test
authorAnton Afanasyev <anton.a.afanasyev@gmail.com>
Fri, 7 Jun 2019 12:59:32 +0000 (12:59 +0000)
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>
Fri, 7 Jun 2019 12:59:32 +0000 (12:59 +0000)
commite00c217376e21d109d001ead542c257397c9f82a
tree1c8350df550eef0e2ab1a7cd98388c0f2a43e07e
parent74050c35b8b25f673ebbbe747444a49345972a95
[Support][Test] Time profiler: add regression test

Summary:
Add output to `llvm::errs()` when `-ftime-trace` option is enabled,
add regression test checking this option works as expected.

Reviewers: thakis, aganea

Subscribers: cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D61914

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362792 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/check-time-trace.cpp [new file with mode: 0644]
tools/driver/cc1_main.cpp