[llvm-commits] CVS: llvm/tools/analyze/analyze.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 24 14:09:01 PST 2003
Changes in directory llvm/tools/analyze:
analyze.cpp updated: 1.49 -> 1.50
---
Log message:
Make printing messages nicer
---
Diffs of the changes:
Index: llvm/tools/analyze/analyze.cpp
diff -u llvm/tools/analyze/analyze.cpp:1.49 llvm/tools/analyze/analyze.cpp:1.50
--- llvm/tools/analyze/analyze.cpp:1.49 Tue Dec 3 13:42:26 2002
+++ llvm/tools/analyze/analyze.cpp Mon Feb 24 14:07:54 2003
@@ -25,8 +25,7 @@
ModulePassPrinter(const PassInfo *PI) : PassToPrint(PI) {}
virtual bool run(Module &M) {
- std::cout << "Printing Analysis info for Pass "
- << PassToPrint->getPassName() << ":\n";
+ std::cout << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
getAnalysisID<Pass>(PassToPrint).print(std::cout, &M);
// Get and print pass...
@@ -46,8 +45,8 @@
FunctionPassPrinter(const PassInfo *PI) : PassToPrint(PI) {}
virtual bool runOnFunction(Function &F) {
- std::cout << "Printing Analysis info for function '" << F.getName()
- << "': Pass " << PassToPrint->getPassName() << ":\n";
+ std::cout << "Printing analysis '" << PassToPrint->getPassName()
+ << "' for function '" << F.getName() << "':\n";
getAnalysisID<Pass>(PassToPrint).print(std::cout, F.getParent());
// Get and print pass...
More information about the llvm-commits
mailing list