History log of /external/llvm/lib/Support/Program.cpp
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/Program.cpp
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/Program.cpp
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/Program.cpp
675e0ac0bfd6fb78423d9fbee9f50c1dec62c111 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Avoid using PathV1.h in Program.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Program.cpp
a29ece1693ff16ff991e184f6e073c9fb30fcb4b 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Add a version of sys::ExecuteAndWait that takes StringRefs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Program.cpp
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/Program.cpp
0db5f0f07e6411fa25aefd464648ec8fc335a2d7 13-Jun-2013 Aaron Ballman <aaron@aaronballman.com> Zero-initializing variables; fixes a build breakage introduced in r183864.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Program.cpp
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/Program.cpp
847e36fb60ed4c9fa08215df4fddbe085bbad87a 27-Mar-2013 Chad Rosier <mcrosier@apple.com> Add a boolean parameter to the ExecuteAndWait static function to indicated
if execution failed. ExecuteAndWait returns -1 upon an execution failure, but
checking the return value isn't sufficient because the wait command may
return -1 as well. This new parameter is to be used by the clang driver in a
subsequent commit.
Part of rdar://13362359


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Program.cpp
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/Program.cpp
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/Program.cpp
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/Program.cpp
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/Program.cpp