Skip to content

Commit

Permalink
Details that -debug-only is not available when LLVM is built with --e…
Browse files Browse the repository at this point in the history
…nable-optimized

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218447 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
sylvestre committed Sep 25, 2014
1 parent 05901d8 commit cabd41e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/ProgrammersManual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cabd41e

Please sign in to comment.