1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02: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.

llvm-svn: 54158
This commit is contained in:
Matthijs Kooijman 2008-07-29 08:55:30 +00:00
parent 6ef5a25c7f
commit 1424ba7e0a

View File

@ -469,7 +469,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) {
} else {
if (BugpointIsInterrupted) goto ExitLoops;
std::cout << "Checking instruction '" << I->getName() << "': ";
std::cout << "Checking instruction: " << *I;
Module *M = BD.deleteInstructionFromProgram(I, Simplification);
// 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) {
try {
std::cerr << '\n';
BD.compileProgram(M);
std::cerr << '\n';
return false;