aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Instrumentation/GCOVProfiling.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-17 03:33:41 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-17 03:33:41 +0000
commitf33cab4898c1b31cab6d26dcd2444a2b5b12a4e5 (patch)
tree80f511e79a9c6136ee3c5544cab3645f3d4db10d /lib/Transforms/Instrumentation/GCOVProfiling.cpp
parent8de25f031d8a8c63e0107f7fd0ac4af6b8ab600c (diff)
downloadexternal_llvm-f33cab4898c1b31cab6d26dcd2444a2b5b12a4e5.zip
external_llvm-f33cab4898c1b31cab6d26dcd2444a2b5b12a4e5.tar.gz
external_llvm-f33cab4898c1b31cab6d26dcd2444a2b5b12a4e5.tar.bz2
Don't fallback to copy + delete in rename.
Rename's documentation says "Files are renamed as if by POSIX rename()". and it is used for atomically updating output files from a temporary. Having rename fallback to a non atomic copy has the potential to hide bugs, like using a temporary file in /tmp instead of a unique name next to the final destination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/GCOVProfiling.cpp')
0 files changed, 0 insertions, 0 deletions