summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-08-05 03:00:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-08-05 03:00:22 +0000
commit248d1c65f1ce5bc04b892998b2c2061e6a5f8e1c (patch)
tree6d41aac0d8c6c4aec6c01758a8afd0d336e01f92 /tools/bugpoint/ExecutionDriver.cpp
parent59d5145d7d45b7e5036364fb5063e22fce4d15e9 (diff)
downloadllvm-248d1c65f1ce5bc04b892998b2c2061e6a5f8e1c.tar.gz
llvm-248d1c65f1ce5bc04b892998b2c2061e6a5f8e1c.tar.bz2
llvm-248d1c65f1ce5bc04b892998b2c2061e6a5f8e1c.tar.xz
Add const to compileProgram and to the various test functions in CrashDebugger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--tools/bugpoint/ExecutionDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp
index 28f61c8fe6..7312484932 100644
--- a/tools/bugpoint/ExecutionDriver.cpp
+++ b/tools/bugpoint/ExecutionDriver.cpp
@@ -293,7 +293,7 @@ bool BugDriver::initializeExecutionEnvironment() {
/// setting Error if an error occurs. This is used for code generation
/// crash testing.
///
-void BugDriver::compileProgram(Module *M, std::string *Error) {
+void BugDriver::compileProgram(Module *M, std::string *Error) const {
// Emit the program to a bitcode file...
sys::Path BitcodeFile (OutputPrefix + "-test-program.bc");
std::string ErrMsg;