[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)
commit564daa01fcf27760501cebadaf44b484c1467c99
treefd4d2d385b5516795cf4256a8b1e49546af02b0e
parent336f3e16011cfbe2cdc023aba6efdb7f55a8e343
[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").

llvm-svn: 365450
llvm/test/tools/llvm-profdata/same-filename.test