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 | 7f99f74b7fc298dad4c61c15b064dc951d2b3cbb (patch) | |
tree | 5a6bc328c9bae1c21b28ef4fe3fac7b8cfa4e8ea /tools/bugpoint/bugpoint.cpp | |
parent | 5b77cceeebc550022c682502b14d0b9bf09bc414 (diff) | |
download | llvm-7f99f74b7fc298dad4c61c15b064dc951d2b3cbb.tar.gz llvm-7f99f74b7fc298dad4c61c15b064dc951d2b3cbb.tar.bz2 llvm-7f99f74b7fc298dad4c61c15b064dc951d2b3cbb.tar.xz |
Run opt instead of bugpoint itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/bugpoint.cpp')
-rw-r--r-- | tools/bugpoint/bugpoint.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index b4bc455db1..17f3fc7479 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/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; |