1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib/Support/Windows
Ronald Wampler 3d6203fc7f [Support] PR42623: Avoid setting the delete-on-close bit if a TempFile doesn't reside on a local drive
On Windows, after commit 881ba104656c40098d4bc90c52613c08136f0fe1, tools
using TempFile would error with "bad file descriptor" when writing the
file on a network drive. It appears that setting the delete-on-close bit via
SetFileInformationByHandle/FileDispositionInfo prevented it from
accessing the file on network drives, and although using
FILE_DISPOSITION_INFO seems to work, it causes other troubles.

Differential Revision: https://reviews.llvm.org/D81803
2020-10-30 13:37:40 -04:00
..
COM.inc
DynamicLibrary.inc
explicit_symbols.inc
Host.inc
Memory.inc
Path.inc [Support] PR42623: Avoid setting the delete-on-close bit if a TempFile doesn't reside on a local drive 2020-10-30 13:37:40 -04:00
Process.inc Introduce llvm::sys::Process::getProcessId() and adopt it 2020-04-16 15:05:37 +03:00
Program.inc [Windows] Fix limit on command line size 2020-07-23 11:39:42 +07:00
Signals.inc [Support] On Unix, let the CrashRecoveryContext return the signal code 2020-09-24 08:21:43 -04:00
Threading.inc [ThinLTO] Allow usage of all hardware threads in the system 2020-03-27 10:20:58 -04:00
ThreadLocal.inc
Watchdog.inc