summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/CrashDebugger.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-08-08 03:55:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-08-08 03:55:08 +0000
commit33e81a8221608fa3a18b703c2f0a626e63fda8b4 (patch)
tree4fdde5e9923d3286db774df0aeb55b7cd417ddc8 /llvm/tools/bugpoint/CrashDebugger.cpp
parent97014d8a8ba089e00a28288160884f4991ac6b64 (diff)
downloadbcm5719-llvm-33e81a8221608fa3a18b703c2f0a626e63fda8b4.tar.gz
bcm5719-llvm-33e81a8221608fa3a18b703c2f0a626e63fda8b4.zip
Most of bugpoint now only needs to know the pass names.
llvm-svn: 110534
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
-rw-r--r--llvm/tools/bugpoint/CrashDebugger.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp
index f96554b6f82..2f73d9a58c3 100644
--- a/llvm/tools/bugpoint/CrashDebugger.cpp
+++ b/llvm/tools/bugpoint/CrashDebugger.cpp
@@ -43,7 +43,7 @@ namespace {
}
namespace llvm {
- class ReducePassList : public ListReducer<const PassInfo*> {
+ class ReducePassList : public ListReducer<std::string> {
BugDriver &BD;
public:
ReducePassList(BugDriver &bd) : BD(bd) {}
@@ -52,15 +52,15 @@ namespace llvm {
// running the "Kept" passes fail when run on the output of the "removed"
// passes. If we return true, we update the current module of bugpoint.
//
- virtual TestResult doTest(std::vector<const PassInfo*> &Removed,
- std::vector<const PassInfo*> &Kept,
+ virtual TestResult doTest(std::vector<std::string> &Removed,
+ std::vector<std::string> &Kept,
std::string &Error);
};
}
ReducePassList::TestResult
-ReducePassList::doTest(std::vector<const PassInfo*> &Prefix,
- std::vector<const PassInfo*> &Suffix,
+ReducePassList::doTest(std::vector<std::string> &Prefix,
+ std::vector<std::string> &Suffix,
std::string &Error) {
sys::Path PrefixOutput;
Module *OrigProgram = 0;
OpenPOWER on IntegriCloud