diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-21 02:04:43 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-21 02:04:43 +0000 |
| commit | 023fcf977660e686e04f5bef0e2a7321db47df7e (patch) | |
| tree | 21e3b0af2281c2ede5c731f98d5c6cb22dd135a6 /tools/bugpoint/ToolRunner.cpp | |
| parent | 422fa625d9bdc37ebba9fc8ce16f141ffa80fc58 (diff) | |
For PR797:
Make sys::Program::ExecuteAndWait not throw exceptions and update any
affected code. It now return -9999 to signal that the program couldn't be
executed. Only one case (in bugpoint) actually examines the result code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.cpp')
| -rw-r--r-- | tools/bugpoint/ToolRunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index 94cccf2774..067bf658c7 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -55,7 +55,7 @@ static void ProcessFailure(sys::Path ProgPath, const char** Args) { sys::Path ErrorFilename("error_messages"); ErrorFilename.makeUnique(); RunProgramWithTimeout(ProgPath, Args, sys::Path(""), ErrorFilename, - ErrorFilename); + ErrorFilename); // FIXME: check return code // Print out the error messages generated by GCC if possible... std::ifstream ErrorFile(ErrorFilename.c_str()); |
