summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-08 04:02:47 +0000
committerDan Gohman <gohman@apple.com>2008-12-08 04:02:47 +0000
commit70ef449741da8b1ef035e04a55958652a0200ba1 (patch)
tree5076fe2492725480299ed59fe3199de3e5ef892d /tools/bugpoint/BugDriver.cpp
parent28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf (diff)
downloadllvm-70ef449741da8b1ef035e04a55958652a0200ba1.tar.gz
llvm-70ef449741da8b1ef035e04a55958652a0200ba1.tar.bz2
llvm-70ef449741da8b1ef035e04a55958652a0200ba1.tar.xz
Generalize bugpoint's concept of a "safe" backend, and add options
to allow the "safe" backend to be run with a different path, and/or with different command-line options. This enables the following use cases: - bugpoint llc against an llc command from a different build - bugpoint llc against the same llc with different command-line options - and more... Also, document the existing "custom" interpreter options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r--tools/bugpoint/BugDriver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index acea37e1fe..19f9685677 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/tools/bugpoint/BugDriver.cpp
@@ -65,7 +65,8 @@ std::string llvm::getPassesString(const std::vector<const PassInfo*> &Passes) {
BugDriver::BugDriver(const char *toolname, bool as_child, bool find_bugs,
unsigned timeout, unsigned memlimit)
: ToolName(toolname), ReferenceOutputFile(OutputFile),
- Program(0), Interpreter(0), cbe(0), gcc(0), run_as_child(as_child),
+ Program(0), Interpreter(0), SafeInterpreter(0), gcc(0),
+ run_as_child(as_child),
run_find_bugs(find_bugs), Timeout(timeout), MemoryLimit(memlimit) {}