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 | 824edeb8429ea1d8b06cce75d63be9b72bf6db76 (patch) | |
tree | d5b59b54a6fe23d7a4131bcd20f4852e59fbf04f /llvm/tools/bugpoint/BugDriver.h | |
parent | d652ac82b099e789ae7aa05d639651518419a1c1 (diff) | |
download | bcm5719-llvm-824edeb8429ea1d8b06cce75d63be9b72bf6db76.tar.gz bcm5719-llvm-824edeb8429ea1d8b06cce75d63be9b72bf6db76.zip |
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
llvm-svn: 110341
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.h')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h index 6312ffaeb13..fb5ae2959c8 100644 --- a/llvm/tools/bugpoint/BugDriver.h +++ b/llvm/tools/bugpoint/BugDriver.h @@ -51,6 +51,7 @@ 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; @@ -61,7 +62,7 @@ class BugDriver { friend class ReduceMisCodegenFunctions; public: - BugDriver(const char *toolname, bool find_bugs, + BugDriver(const char *toolname, bool as_child, bool find_bugs, unsigned timeout, unsigned memlimit, bool use_valgrind, LLVMContext& ctxt); ~BugDriver(); @@ -289,6 +290,9 @@ 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. /// |