diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 15:25:38 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 15:25:38 +0000 |
commit | 86d7095eac81accde7ee7f9a0dbb067a1072a406 (patch) | |
tree | 6641378ea84348fcc5ad228374bdf9d017d699b2 /llvm/tools/bugpoint/bugpoint.cpp | |
parent | 9c22219d9c4a6f9d5f71df850f7e68fd631025d4 (diff) | |
download | bcm5719-llvm-86d7095eac81accde7ee7f9a0dbb067a1072a406.tar.gz bcm5719-llvm-86d7095eac81accde7ee7f9a0dbb067a1072a406.zip |
Run opt instead of bugpoint itself.
Fixes PR753.
llvm-svn: 110333
Diffstat (limited to 'llvm/tools/bugpoint/bugpoint.cpp')
-rw-r--r-- | llvm/tools/bugpoint/bugpoint.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp index ba5234bdc89..41156f92ce8 100644 --- a/llvm/tools/bugpoint/bugpoint.cpp +++ b/llvm/tools/bugpoint/bugpoint.cpp @@ -29,13 +29,6 @@ #include "llvm/LinkAllVMCore.h" using namespace llvm; -// AsChild - Specifies that this invocation of bugpoint is being generated -// from a parent process. It is not intended to be used by users so the -// option is hidden. -static cl::opt<bool> -AsChild("as-child", cl::desc("Run bugpoint as child process"), - cl::ReallyHidden); - static cl::opt<bool> FindBugs("find-bugs", cl::desc("Run many different optimization sequences " "on program to find bugs"), cl::init(false)); @@ -123,7 +116,7 @@ int main(int argc, char **argv) { MemoryLimit = 100; } - BugDriver D(argv[0], AsChild, FindBugs, TimeoutValue, MemoryLimit, + BugDriver D(argv[0], FindBugs, TimeoutValue, MemoryLimit, UseValgrind, Context); if (D.addSources(InputFilenames)) return 1; |