More pass manager debugging outputs.

llvm-svn: 51930
This commit is contained in:
Evan Cheng 2008-06-04 09:13:31 +00:00
parent fc3c489b52
commit 93af6ce129
1 changed files with 5 additions and 0 deletions

View File

@ -665,6 +665,11 @@ void PMDataManager::removeDeadPasses(Pass *P, const char *Msg,
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) {