summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/Miscompilation.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/Miscompilation.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/Miscompilation.cpp')
-rw-r--r--llvm/tools/bugpoint/Miscompilation.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/Miscompilation.cpp b/llvm/tools/bugpoint/Miscompilation.cpp
index 0ae883c4841..3f2b6968718 100644
--- a/llvm/tools/bugpoint/Miscompilation.cpp
+++ b/llvm/tools/bugpoint/Miscompilation.cpp
@@ -43,13 +43,13 @@ namespace {
cl::desc("Don't extract blocks when searching for miscompilations"),
cl::init(false));
- class ReduceMiscompilingPasses : public ListReducer<const PassInfo*> {
+ class ReduceMiscompilingPasses : public ListReducer<std::string> {
BugDriver &BD;
public:
ReduceMiscompilingPasses(BugDriver &bd) : BD(bd) {}
- virtual TestResult doTest(std::vector<const PassInfo*> &Prefix,
- std::vector<const PassInfo*> &Suffix,
+ virtual TestResult doTest(std::vector<std::string> &Prefix,
+ std::vector<std::string> &Suffix,
std::string &Error);
};
}
@@ -58,8 +58,8 @@ namespace {
/// group, see if they still break the program.
///
ReduceMiscompilingPasses::TestResult
-ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix,
- std::vector<const PassInfo*> &Suffix,
+ReduceMiscompilingPasses::doTest(std::vector<std::string> &Prefix,
+ std::vector<std::string> &Suffix,
std::string &Error) {
// First, run the program with just the Suffix passes. If it is still broken
// with JUST the kept passes, discard the prefix passes.
OpenPOWER on IntegriCloud