diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2014-09-25 10:57:00 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2014-09-25 10:57:00 +0000 |
commit | b5984fabbde7398ced717001cc789c4821dc7a28 (patch) | |
tree | 44908c7c9de06bc2d2d657c95c6c3e97cde3ec78 /llvm/docs/ProgrammersManual.rst | |
parent | e91d68c47547d714ec13bb0b2f3b3bd0c11c3a5e (diff) | |
download | bcm5719-llvm-b5984fabbde7398ced717001cc789c4821dc7a28.tar.gz bcm5719-llvm-b5984fabbde7398ced717001cc789c4821dc7a28.zip |
Details that -debug-only is not available when LLVM is built with --enable-optimized
llvm-svn: 218447
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
-rw-r--r-- | llvm/docs/ProgrammersManual.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst index b06d2ebc976..a3a20f3824c 100644 --- a/llvm/docs/ProgrammersManual.rst +++ b/llvm/docs/ProgrammersManual.rst @@ -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 |