mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +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:
@@ -128,9 +128,11 @@ bool BugDriver::run() {
|
|||||||
// a bytecode file, then we know the compiler didn't crash, so try to diagnose
|
// a bytecode file, then we know the compiler didn't crash, so try to diagnose
|
||||||
// a miscompilation.
|
// a miscompilation.
|
||||||
//
|
//
|
||||||
std::cout << "Running selected passes on program to test for crash: ";
|
if (!PassesToRun.empty()) {
|
||||||
if (runPasses(PassesToRun))
|
std::cout << "Running selected passes on program to test for crash: ";
|
||||||
return debugCrash();
|
if (runPasses(PassesToRun))
|
||||||
|
return debugCrash();
|
||||||
|
}
|
||||||
|
|
||||||
std::cout << "Checking for a miscompilation...\n";
|
std::cout << "Checking for a miscompilation...\n";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user