aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-05-26 19:52:24 +0000
committerZachary Turner <zturner@google.com>2015-05-26 19:52:24 +0000
commit5de068bf310eeff1c49ce3d582ae28e580c08e24 (patch)
tree57ad2f73d8de0ef4f7065e96c37c2d5258148841 /clang/lib/CodeGen/BackendUtil.cpp
parent674cf26892a724ffff202d3e48ff6b25b3a46a6d (diff)
downloadllvm-5de068bf310eeff1c49ce3d582ae28e580c08e24.zip
llvm-5de068bf310eeff1c49ce3d582ae28e580c08e24.tar.gz
llvm-5de068bf310eeff1c49ce3d582ae28e580c08e24.tar.bz2
On Windows, delete existing log file before renaming temp file.
On non-Windows platforms, os.rename() will silently replace the destination file if it already exists. On Windows, it doesn't do this, and the filesystem has no mechanism to simulate the same type of atomic rename operation. So on Windows, delete the file first before calling os.rename(). llvm-svn: 238239
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions