]> granicus.if.org Git - clang/commit
Make sure a test from r363036 does not write into a working directory
authorIlya Biryukov <ibiryukov@google.com>
Tue, 11 Jun 2019 12:05:03 +0000 (12:05 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Tue, 11 Jun 2019 12:05:03 +0000 (12:05 +0000)
commitdfcd07aab62226868e5d8c35baa3227f11c41e08
treeca2ef809df46d468d3713a9cf39e200968f41e2a
parentdfc7cb3fe8e163901c6a38e7b673888eac21797b
Make sure a test from r363036 does not write into a working directory

It breaks if build directory is not writable. This change is required
to fix our integrate.

Also add a flush() call, otherwise time trace option does not produce
the full output.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363052 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/check-time-trace.cpp
tools/driver/cc1_main.cpp