mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Improve bugpoint output a bit by outputting the actual instructions instead of
just it's name, which is often empty. Also remove a newline from the output that wasn't really needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2afdedec5
commit
bcbd9c43a1
@ -469,7 +469,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) {
|
|||||||
} else {
|
} else {
|
||||||
if (BugpointIsInterrupted) goto ExitLoops;
|
if (BugpointIsInterrupted) goto ExitLoops;
|
||||||
|
|
||||||
std::cout << "Checking instruction '" << I->getName() << "': ";
|
std::cout << "Checking instruction: " << *I;
|
||||||
Module *M = BD.deleteInstructionFromProgram(I, Simplification);
|
Module *M = BD.deleteInstructionFromProgram(I, Simplification);
|
||||||
|
|
||||||
// Find out if the pass still crashes on this pass...
|
// Find out if the pass still crashes on this pass...
|
||||||
@ -539,7 +539,6 @@ bool BugDriver::debugOptimizerCrash(const std::string &ID) {
|
|||||||
|
|
||||||
static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
|
static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
|
||||||
try {
|
try {
|
||||||
std::cerr << '\n';
|
|
||||||
BD.compileProgram(M);
|
BD.compileProgram(M);
|
||||||
std::cerr << '\n';
|
std::cerr << '\n';
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user