diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-07 23:03:21 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-07 23:03:21 +0000 |
commit | bbdce49c2a3bd9c2fe0006a26cacf40fea5764d5 (patch) | |
tree | 893ec7fca3b15220a6bee213ee7e48a0c1d64f72 /llvm/tools/bugpoint/bugpoint.cpp | |
parent | d05f31d05932cf797292c94f40453004a9667670 (diff) | |
download | bcm5719-llvm-bbdce49c2a3bd9c2fe0006a26cacf40fea5764d5.tar.gz bcm5719-llvm-bbdce49c2a3bd9c2fe0006a26cacf40fea5764d5.zip |
Run opt instead of bugpoint itself.
llvm-svn: 110524
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 b4bc455db12..17f3fc7479d 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)); @@ -124,7 +117,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; |