diff options
Diffstat (limited to 'clang/docs/MemorySanitizer.rst')
| -rw-r--r-- | clang/docs/MemorySanitizer.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/docs/MemorySanitizer.rst b/clang/docs/MemorySanitizer.rst index 439acc47fa2..6039addad64 100644 --- a/clang/docs/MemorySanitizer.rst +++ b/clang/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 =============== |

