diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-08-07 08:23:32 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-08-07 08:23:32 +0000 |
commit | 05654ff22ea732b5bb2f90c142ffe57bdb8c0381 (patch) | |
tree | e063b6e12a2b0c4367c9398322ce314e0ba55022 /docs/UsersManual.rst | |
parent | efed68700e6352f50d120b246041054e76b0c6b9 (diff) | |
download | clang-05654ff22ea732b5bb2f90c142ffe57bdb8c0381.tar.gz clang-05654ff22ea732b5bb2f90c142ffe57bdb8c0381.tar.bz2 clang-05654ff22ea732b5bb2f90c142ffe57bdb8c0381.tar.xz |
Documentation for sanitizer special case list format and -f(no-)?sanitize-blacklist flag
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.rst')
-rw-r--r-- | docs/UsersManual.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index daa90b64e4..80956f8921 100644 --- a/docs/UsersManual.rst +++ b/docs/UsersManual.rst @@ -940,6 +940,15 @@ are listed below. it is of the wrong dynamic type, or that its lifetime has not begun or has ended. Incompatible with ``-fno-rtti``. + You can turn off or modify checks for certain source files, functions + or even variables by providing a special file: + + - ``-fsanitize-blacklist=/path/to/blacklist/file``: disable or modify + sanitizer checks for objects listed in the file. See + :doc:`SanitizerSpecialCaseList` for file format description. + - ``-fno-sanitize-blacklist``: don't use blacklist file, if it was + specified earlier in the command line. + Experimental features of AddressSanitizer (not ready for widespread use, require explicit ``-fsanitize=address``): |