diff options
author | Chris Lattner <sabre@nondot.org> | 2002-02-01 04:53:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-02-01 04:53:36 +0000 |
commit | 6ff53e77ccb86cfda1760de6cb90b47f2d55a365 (patch) | |
tree | 7de7b0f723a7f6ca67c1595d52fac4f79f5fed24 | |
parent | cd6663b9bab8f725d1138946f1690e63ca440238 (diff) | |
download | external_llvm-6ff53e77ccb86cfda1760de6cb90b47f2d55a365.zip external_llvm-6ff53e77ccb86cfda1760de6cb90b47f2d55a365.tar.gz external_llvm-6ff53e77ccb86cfda1760de6cb90b47f2d55a365.tar.bz2 |
Add more debug output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1627 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/PassManagerT.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h index 5583b9b..d5c483f 100644 --- a/lib/VMCore/PassManagerT.h +++ b/lib/VMCore/PassManagerT.h @@ -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); |