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 | c295914b7ad5a4bd626e85ee4b3563c0e42a93be (patch) | |
tree | 91a8c8c846aafd23202bc11315cc42e0c6c78e8c /llvm/tools/opt/opt.cpp | |
parent | 756b0076e16b9b0b146640ec8d0ffe0efa8beb1c (diff) | |
download | bcm5719-llvm-c295914b7ad5a4bd626e85ee4b3563c0e42a93be.tar.gz bcm5719-llvm-c295914b7ad5a4bd626e85ee4b3563c0e42a93be.zip |
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.
llvm-svn: 29785
Diffstat (limited to 'llvm/tools/opt/opt.cpp')
-rw-r--r-- | llvm/tools/opt/opt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 18b4a8c1574..6d3b3b648aa 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/tools/opt/opt.cpp @@ -26,8 +26,7 @@ #include "llvm/Support/PluginLoader.h" #include "llvm/Support/SystemUtils.h" #include "llvm/Support/Timer.h" -#include "llvm/Analysis/LinkAllAnalyses.h" -#include "llvm/Transforms/LinkAllPasses.h" +#include "llvm/LinkAllPasses.h" #include "llvm/LinkAllVMCore.h" #include <fstream> #include <memory> |