aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-04-01 22:43:57 +0000
committerDavid Greene <greened@obbligato.org>2010-04-01 22:43:57 +0000
commit86a7e009b9c72cfdeb186ab7f138b855950a9f29 (patch)
treeeb24eedb1c0e990efe72699d85bdd7ddd7f28e73 /lib/Transforms
parent281d37e6f577acd98b3b6fb1ac7a2b65b8ebf8b4 (diff)
downloadexternal_llvm-86a7e009b9c72cfdeb186ab7f138b855950a9f29.zip
external_llvm-86a7e009b9c72cfdeb186ab7f138b855950a9f29.tar.gz
external_llvm-86a7e009b9c72cfdeb186ab7f138b855950a9f29.tar.bz2
Add some switches helpful for debugging:
-print-before=<Pass Name> Dump IR before running pass <Pass Name>. -print-before-all Dump IR before running each pass. -print-after-all Dump IR after running each pass. These are helpful when tracking down a miscompilation. It is easy to get IR dumps and do diffs on them, etc. To make this work well, add a new getPrinterPass API to Pass so that each kind of pass (ModulePass, FunctionPass, etc.) can create a Pass suitable for dumping out the kind of object the Pass works on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
0 files changed, 0 insertions, 0 deletions