[llvm-commits] [llvm] r51930 - /llvm/trunk/lib/VMCore/PassManager.cpp
Evan Cheng
evan.cheng at apple.com
Wed Jun 4 02:13:39 PDT 2008
Author: evancheng
Date: Wed Jun 4 04:13:31 2008
New Revision: 51930
URL: http://llvm.org/viewvc/llvm-project?rev=51930&view=rev
Log:
More pass manager debugging outputs.
Modified:
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/lib/VMCore/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassManager.cpp?rev=51930&r1=51929&r2=51930&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Wed Jun 4 04:13:31 2008
@@ -665,6 +665,11 @@
TPM->collectLastUses(DeadPasses, P);
+ if (PassDebugging >= Details) {
+ cerr << " -*- " << P->getPassName();
+ cerr << " is the last users of following passes. Free them\n";
+ }
+
for (SmallVector<Pass *, 12>::iterator I = DeadPasses.begin(),
E = DeadPasses.end(); I != E; ++I) {
More information about the llvm-commits
mailing list