summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-01 04:53:36 +0000
committerChris Lattner <sabre@nondot.org>2002-02-01 04:53:36 +0000
commitf2f31bdfb5adeac1eb3452db36a610960fb0ae75 (patch)
tree30cc06bf362a3b92f729002c4d541598a5a4f0d7 /llvm/lib
parent204e23630609822987eb131c81f60dbffd20139a (diff)
downloadbcm5719-llvm-f2f31bdfb5adeac1eb3452db36a610960fb0ae75.tar.gz
bcm5719-llvm-f2f31bdfb5adeac1eb3452db36a610960fb0ae75.zip
Add more debug output
llvm-svn: 1627
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/PassManagerT.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/PassManagerT.h b/llvm/lib/VMCore/PassManagerT.h
index 5583b9b9187..d5c483f7524 100644
--- a/llvm/lib/VMCore/PassManagerT.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud