diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-08-05 16:26:32 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-08-05 16:26:32 +0000 |
commit | b8be03b0e4275eca68f998baab47e66b8a091c05 (patch) | |
tree | 2acfa5cdae1eeb138602233a06f7c821ba19480f /tools/bugpoint/bugpoint.cpp | |
parent | feaac8f7fff264da2031069847e544dcbbfe5ebb (diff) | |
download | llvm-b8be03b0e4275eca68f998baab47e66b8a091c05.tar.gz llvm-b8be03b0e4275eca68f998baab47e66b8a091c05.tar.bz2 llvm-b8be03b0e4275eca68f998baab47e66b8a091c05.tar.xz |
Revert bugpoint change due to buildbot breakage.
--- Reverse-merging r110333 into '.':
U tools/bugpoint/BugDriver.h
U tools/bugpoint/OptimizerDriver.cpp
U tools/bugpoint/bugpoint.cpp
U tools/bugpoint/BugDriver.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/bugpoint.cpp')
-rw-r--r-- | tools/bugpoint/bugpoint.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp index 41156f92ce..ba5234bdc8 100644 --- a/tools/bugpoint/bugpoint.cpp +++ b/tools/bugpoint/bugpoint.cpp @@ -29,6 +29,13 @@ #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)); @@ -116,7 +123,7 @@ int main(int argc, char **argv) { MemoryLimit = 100; } - BugDriver D(argv[0], FindBugs, TimeoutValue, MemoryLimit, + BugDriver D(argv[0], AsChild, FindBugs, TimeoutValue, MemoryLimit, UseValgrind, Context); if (D.addSources(InputFilenames)) return 1; |