diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-07-31 14:34:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-07-31 14:34:49 +0000 |
commit | e490460fc87d11c9b5ef1d72480527467d3c459c (patch) | |
tree | bf484ab2b7958aa8669bb60eb6b7a2fec5140d44 /llvm/tools/bugpoint/BugDriver.h | |
parent | 779e4b15f1f8d70ac86dd2f129e8cdefee954da6 (diff) | |
download | bcm5719-llvm-e490460fc87d11c9b5ef1d72480527467d3c459c.tar.gz bcm5719-llvm-e490460fc87d11c9b5ef1d72480527467d3c459c.zip |
Add const to some methods and change TestMergedProgram to return the merged
module and take a const BugDriver.
llvm-svn: 109951
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.h')
-rw-r--r-- | llvm/tools/bugpoint/BugDriver.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h index 4f345d613bb..19fc80b8741 100644 --- a/llvm/tools/bugpoint/BugDriver.h +++ b/llvm/tools/bugpoint/BugDriver.h @@ -179,7 +179,7 @@ public: std::string Bitcode, const std::string &SharedObjects, AbstractInterpreter *AI, - std::string *Error); + std::string *Error) const; /// executeProgramSafely - Used to create reference output with the "safe" /// backend, if reference output is not provided. If there is a problem with @@ -187,7 +187,8 @@ public: /// Error. /// std::string executeProgramSafely(const Module *Program, - std::string OutputFile, std::string *Error); + std::string OutputFile, + std::string *Error) const; /// createReferenceFile - calls compileProgram and then records the output /// into ReferenceOutputFile. Returns true if reference file created, false @@ -206,7 +207,7 @@ public: const std::string &BitcodeFile = "", const std::string &SharedObj = "", bool RemoveBitcode = false, - std::string *Error = 0); + std::string *Error = 0) const; /// EmitProgressBitcode - This function is used to output M to a file named /// "bugpoint-ID.bc". |