forked from OSchip/llvm-project
20569e96e9
Without this when lld failed to replace the output file it would leave the temporary behind. The problem is that the existing logic is - cancel the delete flag - rename We have to cancel first to avoid renaming and then crashing and deleting the old version. What is missing then is deleting the temporary file if the rename fails. This can be an issue on both unix and windows, but I am not sure how to cause the rename to fail reliably on unix. I think it can be done on ZFS since it has an ACL system similar to what windows uses, but adding support for checking that in llvm-lit is probably not worth it. llvm-svn: 319786 |
||
---|---|---|
.. | ||
COM.inc | ||
DynamicLibrary.inc | ||
Host.inc | ||
Memory.inc | ||
Mutex.inc | ||
Path.inc | ||
Process.inc | ||
Program.inc | ||
RWMutex.inc | ||
Signals.inc | ||
ThreadLocal.inc | ||
Threading.inc | ||
Watchdog.inc | ||
WindowsSupport.h | ||
explicit_symbols.inc |