llvm-6502/lib/Support/Windows
Rafael Espindola 8e7294f995 Improvements to unique_file and createUniqueDirectory.
* Don't try to create parent directories in unique_file. It had two problem:
   * It violates the contract that it is atomic. If the directory creation
     success and the file creation fails, we would return an error but the
     file system was modified.
   * When creating a temporary file clang would have to first check if the
     parent directory existed or not to avoid creating one when it was not
     supposed to.

* More efficient implementations of createUniqueDirectory and the unique_file
  that produces only the file name. Now all 3 just call into a static
  function passing what they want (name, file or directory).

Clang also has to be updated, so tests might fail if a bot picks up this commit
and not the corresponding clang one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185126 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-28 03:48:47 +00:00
..
DynamicLibrary.inc
explicit_symbols.inc
Host.inc revert r147542 after comments from Joerg Sonnenberger 2012-01-05 18:28:46 +00:00
Memory.inc Add a comment about the requirement that the Windows.h header be last. 2012-12-04 07:04:57 +00:00
Mutex.inc
Path.inc Improvements to unique_file and createUniqueDirectory. 2013-06-28 03:48:47 +00:00
Process.inc sys::process::get_id() now returns the process ID instead of a process handle on Windows. Patch thanks to Kim Gräsman! 2013-06-08 20:29:03 +00:00
Program.inc Replace use of PathV1.h in Program.cpp. 2013-06-14 19:38:45 +00:00
RWMutex.inc Remove tabs. 2012-07-19 00:06:06 +00:00
Signals.inc Remove a use of sys::Path. 2013-06-14 13:59:21 +00:00
system_error.inc
ThreadLocal.inc Satisfy C++ aliasing rules, per suggestion by Chandler. 2012-06-12 01:06:16 +00:00
TimeValue.inc
Watchdog.inc Add a new watchdog timer interface. The interface does not permit handling timeouts, so 2013-03-26 01:27:52 +00:00
Windows.h Fix build on Windows 2013-05-15 09:00:30 +00:00