diff options
author | Rui Ueyama <ruiu@google.com> | 2013-05-10 22:19:28 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-05-10 22:19:28 +0000 |
commit | eaadec3a3918772601aac0a592bc6cc92c878c8e (patch) | |
tree | 4498b2dfaef037db8d3f01b58a386221378ab8bd /lld/docs/development.rst | |
parent | 6ac4ba23fdfc3ea91e21372b73a4f6e2f3410a39 (diff) | |
download | bcm5719-llvm-eaadec3a3918772601aac0a592bc6cc92c878c8e.tar.gz bcm5719-llvm-eaadec3a3918772601aac0a592bc6cc92c878c8e.zip |
[lld] Document about how to enable debug output.
llvm-svn: 181640
Diffstat (limited to 'lld/docs/development.rst')
-rw-r--r-- | lld/docs/development.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lld/docs/development.rst b/lld/docs/development.rst index 4716ba1795d..4a0af414155 100644 --- a/lld/docs/development.rst +++ b/lld/docs/development.rst @@ -22,6 +22,15 @@ Modifying the Driver See :doc:`Driver`. +Debugging +--------- + +You can run lld with ``-mllvm=-debug`` command line option to enable debugging +printouts. If you want to enable debug information for some specific pass, you +can run it with ``-mllvm='-debug-only <pass>'``, where pass is a name used in +the ``DEBUG_WITH_TYPE()`` macro. + + Documentation ------------- |