From 505f36aedec873d99bdaabb8836eac704185f086 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 1 Feb 2007 22:09:37 +0000 Subject: [PATCH] Pretty print pass manager git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33766 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IPA/CallGraphSCCPass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index ad3794aee9a..81636a82472 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp @@ -45,6 +45,10 @@ public: Info.setPreservesAll(); } + virtual const char *getPassName() const { + return "CallGraph Pass Manager"; + } + // Print passes managed by this manager void dumpPassStructure(unsigned Offset) { llvm::cerr << std::string(Offset*2, ' ') << "Call Graph SCC Pass Manager\n";