Print the top 20 most frequently executed blocks. Fix sort predicate problem
[oota-llvm.git] / tools / bugpoint / BugDriver.cpp
index f03a197310ce9f12216fcebd237765ccac6f52ac..f0fb785db9c171c0ee2a77fe56e8125710a840e0 100644 (file)
@@ -1,4 +1,11 @@
 //===- BugDriver.cpp - Top-Level BugPoint class implementation ------------===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This class contains all of the shared state and information that is used by
 // the BugPoint tool to track down errors in optimizations.  This class is the
@@ -170,4 +177,5 @@ void BugDriver::PrintFunctionList(const std::vector<Function*> &Funcs) {
     if (i) std::cout << ", ";
     std::cout << Funcs[i]->getName();
   }
+  std::cout << std::flush;
 }