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 | f2f31bdfb5adeac1eb3452db36a610960fb0ae75 (patch) | |
| tree | 30cc06bf362a3b92f729002c4d541598a5a4f0d7 /llvm/lib | |
| parent | 204e23630609822987eb131c81f60dbffd20139a (diff) | |
| download | bcm5719-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.h | 6 |
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); |

