summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ToolRunner.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-21 06:04:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-21 06:04:45 +0000
commit944645af44c24985fe92f7dc3f1b7af085db97e7 (patch)
treeb0199041630017c07f2c514afdca1240ed2cc7e8 /llvm/tools/bugpoint/ToolRunner.cpp
parent42bcf6ea76b26ba1eee23d12e13ce197d2b4d0e7 (diff)
downloadbcm5719-llvm-944645af44c24985fe92f7dc3f1b7af085db97e7.tar.gz
bcm5719-llvm-944645af44c24985fe92f7dc3f1b7af085db97e7.zip
For PR797:
Adjust usage of the ExecuteAndWait function to use the last argument which is the ErrMsg string. This is necessitated because this function no longer throws exceptions on error. llvm-svn: 29791
Diffstat (limited to 'llvm/tools/bugpoint/ToolRunner.cpp')
-rw-r--r--llvm/tools/bugpoint/ToolRunner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp
index 067bf658c73..8712baf353c 100644
--- a/llvm/tools/bugpoint/ToolRunner.cpp
+++ b/llvm/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); // FIXME: check return code
+ ErrorFilename); // FIXME: check return code ?
// Print out the error messages generated by GCC if possible...
std::ifstream ErrorFile(ErrorFilename.c_str());
OpenPOWER on IntegriCloud