mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Add a Program argument to diffProgram to avoid a use of swapProgramIn.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109859 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user