| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 120298
|
|
|
|
|
|
| |
This makes its behaviour more consistent across platforms.
llvm-svn: 118048
|
|
|
|
|
|
| |
being not found from the file being not executable.
llvm-svn: 117664
|
|
|
|
|
|
| |
It is also workaround for PR7927.
llvm-svn: 114175
|
|
|
|
|
|
|
|
|
| |
Otherwise, e.g. in the invocation like clang -DFOO=\"bar\" FOO macro
got the bar value, not "bar".
Patch by Alexander Esilevich!
llvm-svn: 99763
|
|
|
|
| |
llvm-svn: 94743
|
|
|
|
|
|
|
| |
GetProcessId() was introduced only in Windows XP, and we want to support earlier
versions.
llvm-svn: 82548
|
|
|
|
|
|
| |
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: 81249
|
|
|
|
| |
llvm-svn: 81247
|
|
|
|
| |
llvm-svn: 81246
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 77953
|
|
|
|
| |
llvm-svn: 77913
|
|
|
|
|
|
|
| |
Implemented by moving the code out of static functions into methods of Program
class.
llvm-svn: 76340
|
|
|
|
| |
llvm-svn: 75055
|
|
|
|
|
|
|
|
| |
Makes llvmc show error messages printed by child processes when run from the
Cygwin/MSYS shell. Since ExecuteAndWait does not return until the child program
has finished execution, this change should be harmless.
llvm-svn: 69082
|
|
|
|
| |
llvm-svn: 69081
|
|
|
|
|
|
| |
This bug made llvm-ld unable to function with "-native" option, since the process that was used to call 'gcc' was crashing.
llvm-svn: 52284
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 46296
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
| |
llvm-svn: 35177
|
|
|
|
| |
llvm-svn: 35042
|
|
|
|
| |
llvm-svn: 34923
|
|
|
|
| |
llvm-svn: 34922
|
|
|
|
|
|
| |
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
|
|
|
|
|
|
| |
- Removed warning about clobbered parameter in Bytecode/Reader
llvm-svn: 30026
|
|
|
|
|
|
|
| |
Remove all exception code from Program.inc and implement its new interface
with an ErrMsg string argument.
llvm-svn: 29790
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide new llvm::sys::Program facilities for converting the stdout and
stdin to binary mode. There is no standard way to do this and the available
mechanisms are platform specific. Adjust the bytecode reader and writer to
use these methods when their input is stdin or output is stdout. THis avoids
the problem with \n writing CRLF to a bytecode file on windows.
Patch Contributed by Michael Smith.
llvm-svn: 28722
|
|
|
|
| |
llvm-svn: 22353
|
|
|
|
| |
llvm-svn: 21704
|
|
|
|
| |
llvm-svn: 21216
|
|
|
|
| |
llvm-svn: 20256
|
|
|
|
| |
llvm-svn: 20255
|
|
|
|
| |
llvm-svn: 20208
|
|
gdb debugger doesn't get confused on which file it is reading (the one in
lib/System or the one in lib/System/{Win32,Unix})
llvm-svn: 19426
|