X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FProgrammersManual.rst;h=85a4ad8e554a31c6c19a6f95bb86638bda8b49a8;hb=47f88b5bdf5ac571e3719a26047d1f015ff73cf5;hp=b06d2ebc976446b39d7a38d3bc3f2ecf5d1efa1e;hpb=217b38e19adffd8147b16f3dcace8b51634ae21c;p=oota-llvm.git diff --git a/docs/ProgrammersManual.rst b/docs/ProgrammersManual.rst index b06d2ebc976..85a4ad8e554 100644 --- a/docs/ProgrammersManual.rst +++ b/docs/ProgrammersManual.rst @@ -425,6 +425,9 @@ 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