tsan: ignore interceptors in few more places
authorDmitry Vyukov <dvyukov@google.com>
Thu, 22 Jul 2021 14:32:55 +0000 (16:32 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 23 Jul 2021 07:12:46 +0000 (09:12 +0200)
commit3c92eb44d4cbe3f86bc35f79435864bc31f61596
treeeccdfd22d8ec5309a068fff0897d3a96ba05b2d9
parentcfed8d0fafac43b45bbbe6248e1c29b17c91de67
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
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp