[llvm-commits] CVS: llvm/include/llvm/PassManagers.h
Devang Patel
dpatel at apple.com
Thu Feb 1 14:10:28 PST 2007
Changes in directory llvm/include/llvm:
PassManagers.h updated: 1.6 -> 1.7
---
Log message:
Pretty print pass managers.
---
Diffs of the changes: (+4 -0)
PassManagers.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/PassManagers.h
diff -u llvm/include/llvm/PassManagers.h:1.6 llvm/include/llvm/PassManagers.h:1.7
--- llvm/include/llvm/PassManagers.h:1.6 Mon Jan 29 17:10:37 2007
+++ llvm/include/llvm/PassManagers.h Thu Feb 1 16:10:12 2007
@@ -312,6 +312,10 @@
// Print passes managed by this manager
void dumpPassStructure(unsigned Offset);
+ virtual const char *getPassName() const {
+ return "Function Pass Manager";
+ }
+
FunctionPass *getContainedPass(unsigned N) {
assert ( N < PassVector.size() && "Pass number out of range!");
FunctionPass *FP = static_cast<FunctionPass *>(PassVector[N]);
More information about the llvm-commits
mailing list