Details that -debug-only is not available when LLVM is built with --enable-optimized
authorSylvestre Ledru <sylvestre@debian.org>
Thu, 25 Sep 2014 10:57:00 +0000 (10:57 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 25 Sep 2014 10:57:00 +0000 (10:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218447 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.rst

index b06d2ebc976446b39d7a38d3bc3f2ecf5d1efa1e..a3a20f3824c7ca8bd71b007896cfd8ed32dd2644 100644 (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