summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Analysis/CallPrinter.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
committerpatrick <patrick@openbsd.org>2017-01-14 19:55:43 +0000
commitbd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch)
tree309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/lib/Analysis/CallPrinter.cpp
parentkillp -a should not kill the window if only one pane. (diff)
downloadwireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz
wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/lib/Analysis/CallPrinter.cpp')
-rw-r--r--gnu/llvm/lib/Analysis/CallPrinter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/llvm/lib/Analysis/CallPrinter.cpp b/gnu/llvm/lib/Analysis/CallPrinter.cpp
index 68dcd3c0642..af942e9ed3e 100644
--- a/gnu/llvm/lib/Analysis/CallPrinter.cpp
+++ b/gnu/llvm/lib/Analysis/CallPrinter.cpp
@@ -58,16 +58,16 @@ struct CallGraphViewer
}
};
-struct CallGraphPrinter : public DOTGraphTraitsModulePrinter<
+struct CallGraphDOTPrinter : public DOTGraphTraitsModulePrinter<
CallGraphWrapperPass, true, CallGraph *,
AnalysisCallGraphWrapperPassTraits> {
static char ID;
- CallGraphPrinter()
+ CallGraphDOTPrinter()
: DOTGraphTraitsModulePrinter<CallGraphWrapperPass, true, CallGraph *,
AnalysisCallGraphWrapperPassTraits>(
"callgraph", ID) {
- initializeCallGraphPrinterPass(*PassRegistry::getPassRegistry());
+ initializeCallGraphDOTPrinterPass(*PassRegistry::getPassRegistry());
}
};
@@ -77,8 +77,8 @@ char CallGraphViewer::ID = 0;
INITIALIZE_PASS(CallGraphViewer, "view-callgraph", "View call graph", false,
false)
-char CallGraphPrinter::ID = 0;
-INITIALIZE_PASS(CallGraphPrinter, "dot-callgraph",
+char CallGraphDOTPrinter::ID = 0;
+INITIALIZE_PASS(CallGraphDOTPrinter, "dot-callgraph",
"Print call graph to 'dot' file", false, false)
// Create methods available outside of this file, to use them
@@ -87,6 +87,6 @@ INITIALIZE_PASS(CallGraphPrinter, "dot-callgraph",
ModulePass *llvm::createCallGraphViewerPass() { return new CallGraphViewer(); }
-ModulePass *llvm::createCallGraphPrinterPass() {
- return new CallGraphPrinter();
+ModulePass *llvm::createCallGraphDOTPrinterPass() {
+ return new CallGraphDOTPrinter();
}