| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 107785
|
|
|
|
| |
llvm-svn: 101782
|
|
|
|
| |
llvm-svn: 101723
|
|
|
|
| |
llvm-svn: 101711
|
|
|
|
|
|
| |
for shared libraries.
llvm-svn: 101710
|
|
|
|
|
|
|
| |
platforms to unbreak the darwin and linux builds. The BSD folks should feel
free to change the #if, if this breaks them.
llvm-svn: 101703
|
|
|
|
| |
llvm-svn: 101702
|
|
|
|
| |
llvm-svn: 101701
|
|
|
|
|
|
|
|
|
| |
as it is more efficient than fork/exec.
Thanks to Eric for adding the autoconf check. It would be nice if
a cmake guru could add a cmake check for posix_spawn as well.
llvm-svn: 101693
|
|
|
|
| |
llvm-svn: 100933
|
|
|
|
|
|
| |
cppcheck, PR6617. Patch by Ettl Martin!
llvm-svn: 98525
|
|
|
|
|
|
| |
Kees van Reeuwijk!
llvm-svn: 95946
|
|
|
|
| |
llvm-svn: 94743
|
|
|
|
|
|
| |
not to work any more on linux.
llvm-svn: 86481
|
|
|
|
|
|
|
|
|
|
|
| |
prevents it being correct within a multithreaded context.
This address: PR 5277 (Program::Wait is unsafe to call from multiple threads).
Note: If waitpid() turns out to be non-portable, we can add more autoconf magic, or look into
another solution.
llvm-svn: 84903
|
|
|
|
|
|
| |
ExecuteAndWait.
llvm-svn: 82522
|
|
|
|
|
|
|
| |
GetProcessId was introduced only in XP. As a bonus, this change makes Program
objects copyable, since Program is now basically a PID.
llvm-svn: 81826
|
|
|
|
|
|
| |
Thanks to Duncan Sands for spotting this.
llvm-svn: 81328
|
|
|
|
| |
llvm-svn: 81252
|
|
|
|
| |
llvm-svn: 81249
|
|
|
|
| |
llvm-svn: 81247
|
|
|
|
| |
llvm-svn: 81246
|
|
|
|
|
|
| |
equivalent to SIG_IGN.
llvm-svn: 81144
|
|
|
|
|
|
| |
about by icc (#593, partial). Patch by Erick Tryzelaar.
llvm-svn: 81115
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
forcing them down into various .cpp files.
This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>
sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.
llvm-svn: 79869
|
|
|
|
| |
llvm-svn: 78215
|
|
|
|
|
|
|
| |
fork call. This eliminates a need for <iostream>. Also remove
needless fsync calls.
llvm-svn: 78131
|
|
|
|
|
|
| |
Add a comment explaining why.
llvm-svn: 78128
|
|
|
|
|
|
| |
and 126 if it is not executable.
llvm-svn: 78120
|
|
|
|
|
|
|
| |
distinguish that the result is errno, so it can't use it to provide more
information about the error (it also exposes the numeric value of errno).
llvm-svn: 78098
|
|
|
|
| |
llvm-svn: 77953
|
|
|
|
|
|
|
| |
slashes, just go with it, regardless of whether it looks like it will
be executable. This follows the behavior of sh(1) more closely.
llvm-svn: 77396
|
|
|
|
|
|
|
| |
This fixes clang on non-darwin platforms if a file called 'ld' or 'as'
is in the working directory. Based on patch by Pawel Worach!
llvm-svn: 77379
|
|
|
|
|
|
|
| |
Implemented by moving the code out of static functions into methods of Program
class.
llvm-svn: 76340
|
|
|
|
| |
llvm-svn: 76229
|
|
|
|
| |
llvm-svn: 75055
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang: error: unable to make temporary file: /etc/cc: can't make
unique filename: Permission denied
instead of
clang: error: unable to make temporary file: /etc/cc: can't make
unique filenamePermission denied
for example.
Also, audited the uses of MakeErrMsg to make the prefix strings
consistent (not end with newline/punctuation/space/": ").
llvm-svn: 69626
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error that caused it to redirect stderr to stdout too often.
This fix is applied identically to the win32 code as well, but that is
untested.
--Thi line, and those below, will be ignored--
M System/Unix/Program.inc
M System/Win32/Program.inc
llvm-svn: 52233
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functional changes. Win32 code is untested, but should work fine.
In the unix variant, rename RedirectFD to RedirectIO and let that function
handle empty and null paths instead of doing that in the caller 3 times. This
is the same as win32 already does it.
In the win32 variant, use Path::isEmpty() instead of checking the resulting
c_str() manually. This is the same as unix already does it.
llvm-svn: 52230
|
|
|
|
| |
llvm-svn: 51709
|
|
|
|
|
|
| |
function to flush a specified std::ostream.
llvm-svn: 51705
|
|
|
|
| |
llvm-svn: 50659
|
|
|
|
|
|
| |
Patch by Shantonu Sen.
llvm-svn: 46715
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
| |
are strict about such things.
llvm-svn: 41956
|
|
|
|
|
|
| |
below), should subsume Cygwin
llvm-svn: 37939
|
|
|
|
| |
llvm-svn: 37410
|
|
|
|
| |
llvm-svn: 36361
|
|
|
|
|
|
| |
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
|
|
|
|
|
|
|
| |
Fix a bug in my last patch that botched file redirection by using explicit
scoping of if statements.
llvm-svn: 29815
|