llvm-6502/lib/Support/Windows
Reid Kleckner 62d124a1fa [Support] Fix handle and memory leak for processes that are not waited for
Execute's Data parameter is now optional, so we won't allocate memory
for it on Windows and we'll close the process handle.

The Unix code should probably do something similar to avoid accumulation
of zombie children that haven't been waited on.

Tested on Linux and Windows.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183906 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-13 15:27:17 +00:00
..
DynamicLibrary.inc Make DynamicLibrary thread-safe w/r/t call to dlerror() after dlopen(). PR10718 2011-08-22 19:01:52 +00:00
explicit_symbols.inc Windows/DynamicLibrary.inc: Fix trivial warnings. Thanks to John Myers! 2011-07-09 08:41:20 +00:00
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 Remove Path::getMagicNumber. 2013-06-12 15:07:11 +00:00
PathV2.inc [Support][Path][Windows] Fix dangling else. Don't call CloseHandle when CloseFD is false. 2013-03-15 19:25: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 [Support] Fix handle and memory leak for processes that are not waited for 2013-06-13 15:27:17 +00:00
RWMutex.inc Remove tabs. 2012-07-19 00:06:06 +00:00
Signals.inc [Support] Disable assertion dialogs from the MSVC debug CRT 2013-04-05 16:18:03 +00:00
system_error.inc Make Win32's header file name lower for cross build on case-sensitive filesystem. 2011-02-04 12:53:04 +00:00
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