[llvm] r218447 - Details that -debug-only is not available when LLVM is built with --enable-optimized

Sylvestre Ledru sylvestre at debian.org
Thu Sep 25 03:57:00 PDT 2014


Author: sylvestre
Date: Thu Sep 25 05:57:00 2014
New Revision: 218447

URL: http://llvm.org/viewvc/llvm-project?rev=218447&view=rev
Log:
Details that -debug-only is not available when LLVM is built with --enable-optimized

Modified:
    llvm/trunk/docs/ProgrammersManual.rst

Modified: llvm/trunk/docs/ProgrammersManual.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.rst?rev=218447&r1=218446&r2=218447&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.rst (original)
+++ llvm/trunk/docs/ProgrammersManual.rst Thu Sep 25 05:57:00 2014
@@ -425,6 +425,8 @@ name is specified.  This allows, for exa
 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





More information about the llvm-commits mailing list