[lld] Document about how to enable debug output.

llvm-svn: 181640
This commit is contained in:
Rui Ueyama 2013-05-10 22:19:28 +00:00
parent 6ac4ba23fd
commit eaadec3a39
1 changed files with 9 additions and 0 deletions

View File

@ -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
-------------