[all-commits] [llvm/llvm-project] 0118a6: tsan: switch to the new sanitizer_common mutex

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Jul 23 00:13:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0118a649348b4a2079911037c8d1d3ed648ec25e
      https://github.com/llvm/llvm-project/commit/0118a649348b4a2079911037c8d1d3ed648ec25e
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_mutex.h
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_mutex_test.cpp
    M compiler-rt/lib/tsan/CMakeLists.txt
    M compiler-rt/lib/tsan/go/build.bat
    M compiler-rt/lib/tsan/go/buildgo.sh
    M compiler-rt/lib/tsan/rtl/tsan_defs.h
    M compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
    M compiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
    M compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
    R compiler-rt/lib/tsan/rtl/tsan_mutex.cpp
    R compiler-rt/lib/tsan/rtl/tsan_mutex.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
    M compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
    M compiler-rt/lib/tsan/rtl/tsan_sync.h
    M compiler-rt/lib/tsan/rtl/tsan_trace.h
    M compiler-rt/lib/tsan/tests/unit/CMakeLists.txt
    R compiler-rt/lib/tsan/tests/unit/tsan_mutex_test.cpp

  Log Message:
  -----------
  tsan: switch to the new sanitizer_common mutex

Now that sanitizer_common mutex has feature-parity with tsan mutex,
switch tsan to the sanitizer_common mutex and remove tsan's custom mutex.

Reviewed By: vitalybuka, melver

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




More information about the All-commits mailing list