summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorFedor Sergeev <fedor.sergeev@azul.com>2017-12-01 17:42:46 +0000
committerFedor Sergeev <fedor.sergeev@azul.com>2017-12-01 17:42:46 +0000
commit94dca7c7eacd363041d747fa1dd2393a5109c67f (patch)
tree9f675c42001dc5b0f00b7e284ca6ebdc231763d3 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parentb358f9922a65a9f64b834754a95a50fcb1fb068a (diff)
downloadbcm5719-llvm-94dca7c7eacd363041d747fa1dd2393a5109c67f.tar.gz
bcm5719-llvm-94dca7c7eacd363041d747fa1dd2393a5109c67f.zip
IR printing improvement for function passes - introducing -print-module-scope
Summary: When debugging function passes it happens to be rather useful to dump the whole module before the transformation and then use this dump to analyze this single transformation by running it separately on that particular module state. Introducing -print-module-scope debugging option that forces all the function-level IR dumps to become whole-module dumps. This option builds on top of normal dumping controls like -print-before/after -filter-print-funcs The plan is to eventually extend this option to cover other local passes (at least loop passes) but that should go as a separate change. Reviewers: sanjoy, weimingz, silvas, fedor.sergeev Reviewed By: weimingz Subscribers: apilipenko, skatkov, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D40245 llvm-svn: 319561
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud