From 9c40c289267d734766c2b29dc93554d2b0592174 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 23 Sep 2008 12:47:39 +0000 Subject: Rationalize the names of passes that print information: -callgraph => print-callgraph -callscc => print-callgraph-sccs -cfgscc => print-cfg-sccs -externalfnconstants => print-externalfnconstants -print => print-function -print-alias-sets (no change) -print-callgraph => dot-callgraph -print-cfg => dot-cfg -print-cfg-only => dot-cfg-only -print-dom-info (no change) -printm => print-module -printusedtypes => print-used-types llvm-svn: 56487 --- llvm/lib/Analysis/CFGPrinter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Analysis/CFGPrinter.cpp') diff --git a/llvm/lib/Analysis/CFGPrinter.cpp b/llvm/lib/Analysis/CFGPrinter.cpp index 46d3930bd67..143220ce388 100644 --- a/llvm/lib/Analysis/CFGPrinter.cpp +++ b/llvm/lib/Analysis/CFGPrinter.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file defines a '-print-cfg' analysis pass, which emits the +// This file defines a '-dot-cfg' analysis pass, which emits the // cfg..dot file for each function in the program, with a graph of the // CFG for that function. // @@ -165,7 +165,7 @@ namespace { char CFGPrinter::ID = 0; static RegisterPass -P1("print-cfg", "Print CFG of function to 'dot' file", false, true); +P1("dot-cfg", "Print CFG of function to 'dot' file", false, true); namespace { struct VISIBILITY_HIDDEN CFGOnlyPrinter : public CFGPrinter { @@ -188,7 +188,7 @@ namespace { char CFGOnlyPrinter::ID = 0; static RegisterPass -P2("print-cfg-only", +P2("dot-cfg-only", "Print CFG of function to 'dot' file (with no function bodies)", false, true); /// viewCFG - This function is meant for use from the debugger. You can just -- cgit v1.2.3