summaryrefslogtreecommitdiff
path: root/lib/Analysis/CFGPrinter.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-09-23 12:47:39 +0000
committerDuncan Sands <baldrick@free.fr>2008-09-23 12:47:39 +0000
commit3ee8fc964952a65bcb3668b85938c46f90631e42 (patch)
tree9789cfd5d13ff14c8fc68588f8fb089e5c4d2b41 /lib/Analysis/CFGPrinter.cpp
parent1de42e8374c1479dc30ae043c2ee87bd1d895afe (diff)
downloadllvm-3ee8fc964952a65bcb3668b85938c46f90631e42.tar.gz
llvm-3ee8fc964952a65bcb3668b85938c46f90631e42.tar.bz2
llvm-3ee8fc964952a65bcb3668b85938c46f90631e42.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFGPrinter.cpp')
-rw-r--r--lib/Analysis/CFGPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/CFGPrinter.cpp b/lib/Analysis/CFGPrinter.cpp
index 46d3930bd6..143220ce38 100644
--- a/lib/Analysis/CFGPrinter.cpp
+++ b/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.<fnname>.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<CFGPrinter>
-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<CFGOnlyPrinter>
-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