For PR797:
authorReid Spencer <rspencer@reidspencer.com>
Mon, 21 Aug 2006 02:04:43 +0000 (02:04 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 21 Aug 2006 02:04:43 +0000 (02:04 +0000)
commit023fcf977660e686e04f5bef0e2a7321db47df7e
tree21e3b0af2281c2ede5c731f98d5c6cb22dd135a6
parent422fa625d9bdc37ebba9fc8ce16f141ffa80fc58
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
include/llvm/System/Program.h
lib/Support/CommandLine.cpp
lib/Support/GraphWriter.cpp
lib/System/Unix/Program.inc
tools/bugpoint/OptimizerDriver.cpp
tools/bugpoint/ToolRunner.cpp
tools/lto/lto.cpp
tools/opt/opt.cpp