summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/FindBugs.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-07-30 14:19:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-07-30 14:19:00 +0000
commitc89b1ef0a98f4a024fa61b7e6e62bad592f21ab5 (patch)
tree7c14ce1497705c5deccd39d1b007103cb4f52ebb /llvm/tools/bugpoint/FindBugs.cpp
parentf9d5fe7fbd8e26955683ab602de331acaea7e232 (diff)
downloadbcm5719-llvm-c89b1ef0a98f4a024fa61b7e6e62bad592f21ab5.tar.gz
bcm5719-llvm-c89b1ef0a98f4a024fa61b7e6e62bad592f21ab5.zip
Add a Program argument to diffProgram to avoid a use of swapProgramIn.
llvm-svn: 109859
Diffstat (limited to 'llvm/tools/bugpoint/FindBugs.cpp')
-rw-r--r--llvm/tools/bugpoint/FindBugs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/FindBugs.cpp b/llvm/tools/bugpoint/FindBugs.cpp
index 224c71747a6..4fd597ee119 100644
--- a/llvm/tools/bugpoint/FindBugs.cpp
+++ b/llvm/tools/bugpoint/FindBugs.cpp
@@ -89,7 +89,7 @@ bool BugDriver::runManyPasses(const std::vector<const PassInfo*> &AllPasses,
// output (created above).
//
outs() << "*** Checking if passes caused miscompliation:\n";
- bool Diff = diffProgram(Filename, "", false, &Error);
+ bool Diff = diffProgram(Program, Filename, "", false, &Error);
if (Error.empty() && Diff) {
outs() << "\n*** diffProgram returned true!\n";
debugMiscompilation(&Error);
OpenPOWER on IntegriCloud