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/MemorySanitizer.rst | |
parent | efed68700e6352f50d120b246041054e76b0c6b9 (diff) |
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/MemorySanitizer.rst')
-rw-r--r-- | docs/MemorySanitizer.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/MemorySanitizer.rst b/docs/MemorySanitizer.rst index 439acc47fa..6039addad6 100644 --- a/docs/MemorySanitizer.rst +++ b/docs/MemorySanitizer.rst @@ -93,6 +93,15 @@ supported by other compilers, so we suggest to use it together with ``__has_feature(memory_sanitizer)``. Note: currently, this attribute will be lost if the function is inlined. +Blacklist +--------- + +MemorySanitizer supports ``src`` and ``fun`` entity types in +:doc:`SanitizerSpecialCaseList`, that can be used to relax MemorySanitizer +checks for certain source files and functions. All "Use of uninitialized value" +warnings will be suppressed and all values loaded from memory will be +considered fully initialized. + Origin Tracking =============== |