mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user