diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-07-30 14:19:00 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-07-30 14:19:00 +0000 |
commit | c89b1ef0a98f4a024fa61b7e6e62bad592f21ab5 (patch) | |
tree | 7c14ce1497705c5deccd39d1b007103cb4f52ebb /llvm/tools/bugpoint/BugDriver.cpp | |
parent | f9d5fe7fbd8e26955683ab602de331acaea7e232 (diff) | |
download | bcm5719-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/BugDriver.cpp')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index 45a0d4dd17a..d5b0656019d 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/tools/bugpoint/BugDriver.cpp @@ -211,7 +211,7 @@ bool BugDriver::run(std::string &ErrMsg) { // matches, then we assume there is a miscompilation bug and try to // diagnose it. outs() << "*** Checking the code generator...\n"; - bool Diff = diffProgram("", "", false, &Error); + bool Diff = diffProgram(Program, "", "", false, &Error); if (!Error.empty()) { errs() << Error; return debugCodeGeneratorCrash(ErrMsg); |