summaryrefslogtreecommitdiff
path: root/tools/opt/AnalysisWrappers.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 /tools/opt/AnalysisWrappers.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 'tools/opt/AnalysisWrappers.cpp')
-rw-r--r--tools/opt/AnalysisWrappers.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/opt/AnalysisWrappers.cpp b/tools/opt/AnalysisWrappers.cpp
index 454e73872e..94cca50d63 100644
--- a/tools/opt/AnalysisWrappers.cpp
+++ b/tools/opt/AnalysisWrappers.cpp
@@ -65,7 +65,8 @@ namespace {
char ExternalFunctionsPassedConstants::ID = 0;
RegisterPass<ExternalFunctionsPassedConstants>
- P1("externalfnconstants", "Print external fn callsites passed constants");
+ P1("print-externalfnconstants",
+ "Print external fn callsites passed constants");
struct CallGraphPrinter : public ModulePass {
static char ID; // Pass ID, replacement for typeid
@@ -83,5 +84,5 @@ namespace {
char CallGraphPrinter::ID = 0;
RegisterPass<CallGraphPrinter>
- P2("callgraph", "Print a call graph");
+ P2("print-callgraph", "Print a call graph");
}