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/BugDriver.h | |
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/BugDriver.h')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h index fb5ae2959c8..6312ffaeb13 100644 --- a/llvm/tools/bugpoint/BugDriver.h +++ b/llvm/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. /// |