- 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 07, 2010
-
-
Rafael Espindola authored
llvm-svn: 118367
-
- 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 makes its behaviour more consistent across platforms. llvm-svn: 118048
-
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
-
- Oct 08, 2010
-
-
Daniel Dunbar authored
llvm-svn: 116072
-
Evan Cheng authored
llvm-svn: 115991
-
- Oct 01, 2010
-
-
Daniel Dunbar authored
false positive, at least on Darwin. I haven't filed this, but you can feel free. llvm-svn: 115242
-
- Sep 22, 2010
-
-
Daniel Dunbar authored
end up altering the thread on which crashes are done because of its use of Darwin's broken raise() implementation. llvm-svn: 114558
-
- Sep 07, 2010
-
-
Dan Gohman authored
GetMainExecutable yet. llvm-svn: 113240
-
- Sep 02, 2010
-
-
Dan Gohman authored
Minix apparently doesn't like double-slash separators, and there's no apparent need for them here. llvm-svn: 112844
-
- Sep 01, 2010
-
-
Dan Gohman authored
llvm-svn: 112705
-
Anton Korobeynikov authored
llvm-svn: 112662
-
- Aug 20, 2010
-
-
Daniel Dunbar authored
of the current thread. This has the unfortunate effect that assert() and abort() will end up bypassing our crash recovery attempts. We work around this for anything in the same linkage unit by just defining our own versions of the assert handler and abort. llvm-svn: 111583
-
- Aug 04, 2010
-
-
Dan Gohman authored
llvm-svn: 110183
-
- Jul 29, 2010
-
-
Owen Anderson authored
llvm-svn: 109686
-
- Jul 14, 2010
-
-
Duncan Sands authored
just use memset to zero the entire struct. llvm-svn: 108330
-
- Jul 12, 2010
-
-
Chris Lattner authored
patch by Lasse Kärkkäinen in PR7404. llvm-svn: 108110
-
- Jul 07, 2010
-
-
Chris Lattner authored
llvm-svn: 107785
-
- May 28, 2010
-
-
Dan Gohman authored
and change llvm::sys::RunInterruptHandlers to call that function directly instead of calling SignalHandler, because the rest of SignalHandler invokes side effects which aren't appropriate, including raising the signal. llvm-svn: 104896
-
- May 27, 2010
-
-
Dan Gohman authored
can't be read, since it isn't cleared on other error paths. llvm-svn: 104852
-
- May 08, 2010
-
-
Daniel Dunbar authored
stuff. llvm-svn: 103333
-
- Apr 19, 2010
-
-
Dan Gohman authored
llvm-svn: 101790
-
Dan Gohman authored
llvm-svn: 101785
-