]> granicus.if.org Git - clang/commit
[Support][Test] Time profiler: add regression test
authorAnton Afanasyev <anton.a.afanasyev@gmail.com>
Fri, 7 Jun 2019 18:13:48 +0000 (18:13 +0000)
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>
Fri, 7 Jun 2019 18:13:48 +0000 (18:13 +0000)
commitecf5cff2b5758c45a57945699c2eeda71b087711
tree01c0e1b2b5061a83556d6b29cee648974a7ccd31
parent2b56a904417394416a61fd2df44ffe40cb49b829
[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

llvm-svn: 362792

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