mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Make EmitProgressBitcode const and add a Module argument to runPasses. Use
that argument to simplify runPassesOn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -62,7 +62,7 @@ bool BugDriver::runManyPasses(const std::vector<const PassInfo*> &AllPasses,
|
||||
}
|
||||
|
||||
std::string Filename;
|
||||
if(runPasses(PassesToRun, Filename, false)) {
|
||||
if(runPasses(Program, PassesToRun, Filename, false)) {
|
||||
outs() << "\n";
|
||||
outs() << "Optimizer passes caused failure!\n\n";
|
||||
debugOptimizerCrash();
|
||||
|
||||
Reference in New Issue
Block a user