[PATCH] D108199: [msan] Add support for disable_sanitizer_instrumentation attribute
Alexander Potapenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 17 03:46:46 PDT 2021
glider created this revision.
glider added reviewers: eugenis, melver.
Herald added a subscriber: hiraditya.
glider requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
Unlike __attribute__((no_sanitize("memory"))), this one will cause MSan
to skip the entire function during instrumentation.
Depends on https://reviews.llvm.org/D108029
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108199
Files:
clang/docs/MemorySanitizer.rst
clang/test/CodeGen/sanitize-memory-disable.c
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108199.366854.patch
Type: text/x-patch
Size: 3874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210817/25e1b15a/attachment.bin>
More information about the cfe-commits
mailing list