Deleted Added
full compact
ExecutionDriver.cpp (221337) ExecutionDriver.cpp (223013)
1//===- ExecutionDriver.cpp - Allow execution of LLVM program --------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 461 unchanged lines hidden (view full) ---

470 }
471 outs() << "\nReference output is: " << ReferenceOutputFile << "\n\n";
472 return true;
473}
474
475/// diffProgram - This method executes the specified module and diffs the
476/// output against the file specified by ReferenceOutputFile. If the output
477/// is different, 1 is returned. If there is a problem with the code
1//===- ExecutionDriver.cpp - Allow execution of LLVM program --------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 461 unchanged lines hidden (view full) ---

470 }
471 outs() << "\nReference output is: " << ReferenceOutputFile << "\n\n";
472 return true;
473}
474
475/// diffProgram - This method executes the specified module and diffs the
476/// output against the file specified by ReferenceOutputFile. If the output
477/// is different, 1 is returned. If there is a problem with the code
478/// generator (e.g., llc crashes), this will return -1 and set Error.
478/// generator (e.g., llc crashes), this will set ErrMsg.
479///
480bool BugDriver::diffProgram(const Module *Program,
481 const std::string &BitcodeFile,
482 const std::string &SharedObject,
483 bool RemoveBitcode,
484 std::string *ErrMsg) const {
485 // Execute the program, generating an output file...
486 sys::Path Output(executeProgram(Program, "", BitcodeFile, SharedObject, 0,

--- 30 unchanged lines hidden ---
479///
480bool BugDriver::diffProgram(const Module *Program,
481 const std::string &BitcodeFile,
482 const std::string &SharedObject,
483 bool RemoveBitcode,
484 std::string *ErrMsg) const {
485 // Execute the program, generating an output file...
486 sys::Path Output(executeProgram(Program, "", BitcodeFile, SharedObject, 0,

--- 30 unchanged lines hidden ---