Details that -debug-only is not available when LLVM is built with --enable-optimized

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sylvestre Ledru 2014-09-25 10:57:00 +00:00
parent 05901d80ba
commit cabd41e17c

View File

@ -425,6 +425,8 @@ name is specified. This allows, for example, all debug information for
instruction scheduling to be enabled with ``-debug-only=InstrSched``, even if
the source lives in multiple files.
For performance reasons, -debug-only is not available in optimized build (``--enable-optimized``) of LLVM.
The ``DEBUG_WITH_TYPE`` macro is also available for situations where you would
like to set ``DEBUG_TYPE``, but only for one specific ``DEBUG`` statement. It
takes an additional first parameter, which is the type to use. For example, the