summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-08-07 23:03:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-08-07 23:03:21 +0000
commit7f99f74b7fc298dad4c61c15b064dc951d2b3cbb (patch)
tree5a6bc328c9bae1c21b28ef4fe3fac7b8cfa4e8ea /tools/bugpoint/BugDriver.h
parent5b77cceeebc550022c682502b14d0b9bf09bc414 (diff)
downloadllvm-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/BugDriver.h')
-rw-r--r--tools/bugpoint/BugDriver.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h
index fb5ae2959c..6312ffaeb1 100644
--- a/tools/bugpoint/BugDriver.h
+++ b/tools/bugpoint/BugDriver.h
@@ -51,7 +51,6 @@ class BugDriver {
AbstractInterpreter *Interpreter; // How to run the program
AbstractInterpreter *SafeInterpreter; // To generate reference output, etc.
GCC *gcc;
- bool run_as_child;
bool run_find_bugs;
unsigned Timeout;
unsigned MemoryLimit;
@@ -62,7 +61,7 @@ class BugDriver {
friend class ReduceMisCodegenFunctions;
public:
- BugDriver(const char *toolname, bool as_child, bool find_bugs,
+ BugDriver(const char *toolname, bool find_bugs,
unsigned timeout, unsigned memlimit, bool use_valgrind,
LLVMContext& ctxt);
~BugDriver();
@@ -290,9 +289,6 @@ private:
return runPasses(M, PassesToRun, Filename, DeleteOutput);
}
- /// runAsChild - The actual "runPasses" guts that runs in a child process.
- int runPassesAsChild(const std::vector<const PassInfo*> &PassesToRun);
-
/// initializeExecutionEnvironment - This method is used to set up the
/// environment for executing LLVM programs.
///