- Nov 18, 2010
-
-
Owen Anderson authored
Use thread-safe statics to avoid a static constructor here. This isn't thread-safe on MSVC, but we don't support threaded LLVM there anyways. llvm-svn: 119718
-
- Nov 17, 2010
-
-
Peter Collingbourne authored
llvm-svn: 119433
-
- Nov 16, 2010
-
-
Michael J. Spencer authored
The system API's will be shifted over to returning an error_code, and returning other return values as out parameters to the function. Code that needs to check error conditions will use the errc enum values which are the same as the posix_errno defines (EBADF, E2BIG, etc...), and are compatable with the error codes in WinError.h due to some magic in system_error. An example would be: if (error_code ec = KillEvil("Java")) { // error_code can be converted to bool. handle_error(ec); } llvm-svn: 119360
-
- Nov 10, 2010
-
-
Michael J. Spencer authored
llvm-svn: 118683
-
Michael J. Spencer authored
llvm-svn: 118681
-
NAKAMURA Takumi authored
Win32/Process.inc: [PR8527] Process::FileDescriptorIsDisplayed(fd) should not check by FILE_TYPE_CHAR. It must be better to check it with Console API. The special file "NUL" is FILE_TYPE_CHAR with GetFileType(h). It was treated as display device and discarding output to NUL had failed. (eg. opt -o nul) llvm-svn: 118678
-
- Nov 09, 2010
-
-
Michael J. Spencer authored
llvm-svn: 118507
-
Michael J. Spencer authored
llvm-svn: 118506
-
Michael J. Spencer authored
llvm-svn: 118505
-
Michael J. Spencer authored
llvm-svn: 118504
-
Michael J. Spencer authored
llvm-svn: 118503
-
-
Michael J. Spencer authored
llvm-svn: 118501
-
Owen Anderson authored
llvm-svn: 118463
-
- Nov 08, 2010
-
-
Michael J. Spencer authored
llvm-svn: 118442
-
- Nov 07, 2010
-
-
Rafael Espindola authored
llvm-svn: 118367
-
- Nov 04, 2010
-
-
Daniel Dunbar authored
- Primarily useful for running some code with a specified stack size, when pthreads are available. llvm-svn: 118222
-
- Nov 03, 2010
-
-
Dan Gohman authored
llvm-svn: 118128
-
Dan Gohman authored
llvm-svn: 118127
-
Dan Gohman authored
limits on their own. llvm-svn: 118113
-
Dan Gohman authored
llvm-svn: 118110
-
- Nov 02, 2010
-
-
Dan Gohman authored
llvm-svn: 118106
-
Dan Gohman authored
llvm-svn: 118105
-
Dan Gohman authored
llvm-svn: 118102
-
Dan Gohman authored
llvm-svn: 118096
-
Mikhail Glushenkov authored
Additionally, move the implementation of appendSuffix to Path.cpp: it is platform-independent. llvm-svn: 118089
-
Dan Gohman authored
llvm-svn: 118086
-
Dan Gohman authored
llvm-svn: 118058
-
Mikhail Glushenkov authored
This allows using GetDLLSuffix() with appendSuffix(). llvm-svn: 118051
-
Mikhail Glushenkov authored
This makes its behaviour more consistent across platforms. llvm-svn: 118048
-
Mikhail Glushenkov authored
llvm-svn: 118045
-
Mikhail Glushenkov authored
llvm-svn: 118042
-
- Oct 29, 2010
-
-
Dan Gohman authored
llvm-svn: 117666
-
Dan Gohman authored
being not found from the file being not executable. llvm-svn: 117664
-
Dan Gohman authored
executing the child process and abnormal child process termination. llvm-svn: 117661
-
- Oct 28, 2010
-
-
Dan Gohman authored
which contains slashes is inconsistent with the meaning of PATH on Unix-type platforms, and pretty surprising. If the user has given a specific path to execute and we can't execute it, we should fail and say why. (Apparently the new posix_spawn code doesn't always say why, but that's a separate issue.) llvm-svn: 117596
-
Mikhail Glushenkov authored
Original commit message: On "Unix", if Program::FindProgramByName is given a name containing slashes, just go with it, regardless of whether it looks like it will be executable. This follows the behavior of sh(1) more closely. It's better when behaviour is consistent between platforms. This change also makes FindExecutable() behave as expected on unix-likes (before this commit, it used to always succeed). llvm-svn: 117582
-
Mikhail Glushenkov authored
llvm-svn: 117581
-
Mikhail Glushenkov authored
llvm-svn: 117538
-
- Oct 27, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 117443
-