diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 00:29:04 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 00:29:04 +0000 |
commit | ca356afe09454b3378165ded4eda294bd6341428 (patch) | |
tree | b6f47b6e1a27b514a783a69302401612e6aa61d7 /tools/bugpoint/CrashDebugger.cpp | |
parent | 602902ab80b5667c190e18a77c71822c0507e294 (diff) | |
download | llvm-ca356afe09454b3378165ded4eda294bd6341428.tar.gz llvm-ca356afe09454b3378165ded4eda294bd6341428.tar.bz2 llvm-ca356afe09454b3378165ded4eda294bd6341428.tar.xz |
Make EmitProgressBitcode const and add a Module argument to runPasses. Use
that argument to simplify runPassesOn.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CrashDebugger.cpp')
-rw-r--r-- | tools/bugpoint/CrashDebugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index 272ec7eb75..735adc5738 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -68,7 +68,7 @@ ReducePassList::doTest(std::vector<const PassInfo*> &Prefix, outs() << "Checking to see if these passes crash: " << getPassesString(Prefix) << ": "; std::string PfxOutput; - if (BD.runPasses(Prefix, PfxOutput)) + if (BD.runPasses(BD.getProgram(), Prefix, PfxOutput)) return KeepPrefix; PrefixOutput.set(PfxOutput); |