Add more debug output

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-02-01 04:53:36 +00:00
parent cd6663b9ba
commit 6ff53e77cc

View File

@ -128,8 +128,12 @@ public:
#endif
// Run the sub pass!
MadeChanges |= Traits::runPass(P, M);
bool Changed = Traits::runPass(P, M);
MadeChanges |= Changed;
if (Changed)
PMDebug::PrintPassInformation(getDepth()+1, "Made Modification", P,
(Value*)M);
PMDebug::PrintAnalysisSetInfo(getDepth(), "Destroyed", P, Destroyed);
PMDebug::PrintAnalysisSetInfo(getDepth(), "Provided", P, Provided);