[PATCH] D108199: [msan] Add support for disable_sanitizer_instrumentation attribute

Alexander Potapenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 20 06:03:03 PDT 2021


glider added inline comments.


================
Comment at: clang/docs/MemorySanitizer.rst:91
+
+The ``disable_sanitizer_instrumentation`` attribute can be applied to a certain
+function to prevent all kinds of instrumentation. This attribute overrides
----------------
melver wrote:
> Could apply a similar wording to what I suggested on https://reviews.llvm.org/D108202 to deter people from using it.
There's no difference in stack traces (MSan doesn't instrument function entries/exits). Apart from that, done.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108199/new/

https://reviews.llvm.org/D108199



More information about the cfe-commits mailing list