History log of /external/llvm/lib/Support/Unix/Program.inc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/lib/Support/Unix/Program.inc
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/Support/Unix/Program.inc
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/Support/Unix/Program.inc
88fc7015ce9258a88d5e2a0b0cebf4a2f2f8e811 08-Oct-2013 Rafael Espindola <rafael.espindola@gmail.com> Fix build on Solaris 11.

Patch by Vladimir Voskresensky. The erros were:

Path.inc:274:3: error: ‘Dl_info’ was not declared in this scope
...

and

usr/include/spawn.h:52:14: error: expected ‘,’ or ‘...’ before ‘argv’

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
c269c4f505a2dd7c3a88d12706257410ed6c7068 01-Oct-2013 Tareq A. Siraj <tareq.a.siraj@intel.com> Add non-blocking Wait() for launched processes

- New ProcessInfo class to encapsulate information about child processes.
- Generalized the Wait() to support non-blocking wait on child processes.
- ExecuteNoWait() now returns a ProcessInfo object with information about
the launched child. Users will be able to use this object to
perform non-blocking wait.
- ExecuteNoWait() now accepts an ExecutionFailed param that tells if execution
failed or not.

These changes will allow users to implement basic process parallel
tools.

Differential Revision: http://llvm-reviews.chandlerc.com/D1728


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
8b68480453b472fbc49aebc49c37e3ef4cad66cb 26-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Add missing 'n'.

Thanks to Han Finkel for noticing it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
105a4096795e4c974bc1018b3a665c18423d790f 26-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Extend the lifetime of the strings passed to posix_spawn_file_actions_addopen.

Thanks to Hal Finkel for finding the bug and for the initial patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
fcba9c56a25edc71e32a407dfd6191de6dba0ed7 14-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Replace use of PathV1.h in Program.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
6585b388cb7bfc623adb9e4dd910423f838e5d96 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Have sys::FindProgramByName return a std::string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
62d124a1fa8b212bae1d331f027c9eec06a45199 13-Jun-2013 Reid Kleckner <reid@kleckner.net> [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
/external/llvm/lib/Support/Unix/Program.inc
9f1d9fd1964d82f3e801efb71518144492cdf290 12-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove the program class.

It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
those two functions and make Execute and Wait implementations details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
845a932af74ecbd2a20af5751dd61fa8cf2246f5 11-Apr-2013 Rafael Espindola <rafael.espindola@gmail.com> Add a function to check if an argument list is too long.

This will be used in clang to decide if it should create an @file or not. It
will be tested on the clang side.

Patch by Nathan Froyd.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
9c02a276049cbd1d1511a88ebc7a22bb33658237 04-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> More MSan/ASan annotations.

This change lets us bootstrap LLVM/Clang under ASan and MSan. It contains
fixes for 2 issues:

- X86JIT reads return address from stack, which MSan does not know is
initialized.
- bugpoint tests run binaries with RLIMIT_AS. This does not work with certain
Sanitizers.

We are no longer including config.h in Compiler.h with this change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174306 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
a0d8f28a9cbebfd3ddb32dfe3e0a286ede1678c5 01-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Remove an unused method on Program.

I'm simplifying this interface as much as I can before merging it with
the new process interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
2bbe46647555cdd05fe0db5f1dd2839330a647b2 01-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Remove an unused method on the Program class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f 03-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Use the new script to sort the includes of every file under lib.

Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.

Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
b92cb30cf547bf9a8590a981a49040f480c8eb82 14-Dec-2011 Michael J. Spencer <bigcheesegs@gmail.com> Support/Program: Make Change<stream>ToBinary return error_code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146522 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
dc5948d47205fd05184a25251e128db6a47b25c2 21-May-2011 Andrew Trick <atrick@apple.com> Have Program::Wait return -2 for crashed and timeouts instead of embedding
info in the error message. Per Dan's request.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
7c863eb8cc34c8ae97ae90672758eb6637b1125f 11-May-2011 Andrew Trick <atrick@apple.com> Bugpoint support for miscompilations that result in a crash.

This change allows bugpoint to pinpoint the "opt" pass and bitcode
segment responsible for a crash caused by miscompilation. At least it
works well for me now, without having to create any custom execution
wrappers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
7a2bdde0a0eebcd2125055e0eacaca040f0b766c 15-Apr-2011 Chris Lattner <sabre@nondot.org> Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
ed8f9589a8767d3a61aeda6661b74891df80fa18 20-Mar-2011 Benjamin Kramer <benny.kra@googlemail.com> Avoid initializing posix_spawn_file_actions_t if not used.

- glibc falls back to fork+exec if a file actions object is present.
- On BSDs this saves a malloc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
54453f2978c76b3aa71be7bb4e9657c8539f8648 10-Jan-2011 Michael J. Spencer <bigcheesegs@gmail.com> Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
53ca1f3190680f3e86aebe0f72f7918d63f71e0d 29-Nov-2010 Charles Davis <cdavis@mines.edu> Now to chant the magical incantation that will exorcise the System library
from LLVM forever:

grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g'


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Program.inc