OSDN Git Service

[llvm-profdata] Don't make the output overwrite the input file.
authorHaojian Wu <hokein@google.com>
Tue, 9 Jul 2019 09:57:45 +0000 (09:57 +0000)
committerHaojian Wu <hokein@google.com>
Tue, 9 Jul 2019 09:57:45 +0000 (09:57 +0000)
commitd64872d360fa1013ac28fe59588844b825d88a4b
treeec95def02f258be700cf541d10e9bcae161df8f0
parent64c8cde6556695b774837338a9d6b83c1aa9a9dd
[llvm-profdata] Don't make the output overwrite the input file.

Some file systems may not allow this behavior, the test fails on our internal
system ("Permission denied").

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365450 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-profdata/same-filename.test