[all-commits] [llvm/llvm-project] 3c92eb: tsan: ignore interceptors in few more places

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


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

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
    M compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp

  Log Message:
  -----------
  tsan: ignore interceptors in few more places

This is preparation to switching to the sanitizer_common Mutex.
Without this change after the switch we will start failing
on existing from the runtime with runtime mutexes held.
Previously it worked because CheckNoLocks did not see sanitizer_common mutexes.

Depends on D106547.

Reviewed By: vitalybuka, melver

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




More information about the All-commits mailing list