[llvm-commits] [llvm] r54158 - /llvm/trunk/tools/bugpoint/CrashDebugger.cpp

Matthijs Kooijman matthijs at stdin.nl
Tue Jul 29 01:55:30 PDT 2008


Author: matthijs
Date: Tue Jul 29 03:55:30 2008
New Revision: 54158

URL: http://llvm.org/viewvc/llvm-project?rev=54158&view=rev
Log:
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.

Modified:
    llvm/trunk/tools/bugpoint/CrashDebugger.cpp

Modified: llvm/trunk/tools/bugpoint/CrashDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=54158&r1=54157&r2=54158&view=diff

==============================================================================
--- llvm/trunk/tools/bugpoint/CrashDebugger.cpp (original)
+++ llvm/trunk/tools/bugpoint/CrashDebugger.cpp Tue Jul 29 03:55:30 2008
@@ -469,7 +469,7 @@
             } 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 @@
 
 static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
   try {
-    std::cerr << '\n';
     BD.compileProgram(M);
     std::cerr << '\n';
     return false;





More information about the llvm-commits mailing list