projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Have Program::Wait return -2 for crashed and timeouts instead of embedding
[oota-llvm.git]
/
tools
/
bugpoint
/
OptimizerDriver.cpp
diff --git
a/tools/bugpoint/OptimizerDriver.cpp
b/tools/bugpoint/OptimizerDriver.cpp
index c6be271ae2b981854e62e69750f96de4edccc6db..336c83d7b1f39bd864a075624c9fdc6547ea4c97 100644
(file)
--- a/
tools/bugpoint/OptimizerDriver.cpp
+++ b/
tools/bugpoint/OptimizerDriver.cpp
@@
-223,7
+223,7
@@
bool BugDriver::runPasses(Module *Program,
if (result == -1)
outs() << "Execute failed: " << ErrMsg << "\n";
else
- outs() << "Crashed
with signal #" << abs(result)
<< "\n";
+ outs() << "Crashed
: " << ErrMsg
<< "\n";
}
if (result & 0x01000000)
outs() << "Dumped core\n";