[all-commits] [llvm/llvm-project] 8dc7dc: [msan] Add support for disable_sanitizer_instrumen...

Alexander Potapenko via All-commits all-commits at lists.llvm.org
Fri Aug 20 06:14:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dc7dcdca1e0d0ce4e39305272c8021a1aed07ed
      https://github.com/llvm/llvm-project/commit/8dc7dcdca1e0d0ce4e39305272c8021a1aed07ed
  Author: Alexander Potapenko <glider at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M clang/docs/MemorySanitizer.rst
    A clang/test/CodeGen/sanitize-memory-disable.c
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  Log Message:
  -----------
  [msan] Add support for disable_sanitizer_instrumentation attribute

Unlike __attribute__((no_sanitize("memory"))), this one will cause MSan
to skip the entire function during instrumentation.

Depends on https://reviews.llvm.org/D108029

Differential Revision: https://reviews.llvm.org/D108199




More information about the All-commits mailing list