mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Unbreak code generator debug mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7eadec6327
commit
99b85334d7
@ -128,9 +128,11 @@ bool BugDriver::run() {
|
||||
// a bytecode file, then we know the compiler didn't crash, so try to diagnose
|
||||
// a miscompilation.
|
||||
//
|
||||
std::cout << "Running selected passes on program to test for crash: ";
|
||||
if (runPasses(PassesToRun))
|
||||
return debugCrash();
|
||||
if (!PassesToRun.empty()) {
|
||||
std::cout << "Running selected passes on program to test for crash: ";
|
||||
if (runPasses(PassesToRun))
|
||||
return debugCrash();
|
||||
}
|
||||
|
||||
std::cout << "Checking for a miscompilation...\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user