[all-commits] [llvm/llvm-project] 8300d5: [tsan] Add support for disable_sanitizer_instrumen...

Alexander Potapenko via All-commits all-commits at lists.llvm.org
Mon Aug 23 03:40:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8300d52e8cbf757192d6b66efa537e15376bf756
      https://github.com/llvm/llvm-project/commit/8300d52e8cbf757192d6b66efa537e15376bf756
  Author: Alexander Potapenko <glider at google.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

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

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

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

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

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




More information about the All-commits mailing list