Deleted Added
full compact
OptimizerDriver.cpp (219067) OptimizerDriver.cpp (223013)
1//===- OptimizerDriver.cpp - Allow BugPoint to run passes safely ----------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 209 unchanged lines hidden (view full) ---

218 if (result == 0)
219 outs() << "Success!\n";
220 else if (result > 0)
221 outs() << "Exited with error code '" << result << "'\n";
222 else if (result < 0) {
223 if (result == -1)
224 outs() << "Execute failed: " << ErrMsg << "\n";
225 else
1//===- OptimizerDriver.cpp - Allow BugPoint to run passes safely ----------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 209 unchanged lines hidden (view full) ---

218 if (result == 0)
219 outs() << "Success!\n";
220 else if (result > 0)
221 outs() << "Exited with error code '" << result << "'\n";
222 else if (result < 0) {
223 if (result == -1)
224 outs() << "Execute failed: " << ErrMsg << "\n";
225 else
226 outs() << "Crashed with signal #" << abs(result) << "\n";
226 outs() << "Crashed: " << ErrMsg << "\n";
227 }
228 if (result & 0x01000000)
229 outs() << "Dumped core\n";
230 }
231
232 // Was the child successful?
233 return result != 0;
234}

--- 31 unchanged lines hidden ---
227 }
228 if (result & 0x01000000)
229 outs() << "Dumped core\n";
230 }
231
232 // Was the child successful?
233 return result != 0;
234}

--- 31 unchanged lines hidden ---