llvm-project/compiler-rt/lib/tsan
Kamil Rytarowski df8802da7a Handle NetBSD alias for pthread_sigmask
Summary:
Add a new helper macro TSAN_INTERCEPTOR_NETBSD_ALIAS_THR2
that handles pthread(3)/libc aliases in scenarios when a name in both
libraries differs not just in prefix namespace.

Handle TSan pthread_sigmask mangling accordingly into __libc_thr_sigsetmask.

Reviewers: vitalybuka, joerg

Reviewed By: vitalybuka

Subscribers: kubamracek, jfb, llvm-commits, #sanitizers, mgorny

Tags: #sanitizers

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

llvm-svn: 345627
2018-10-30 18:49:19 +00:00
..
benchmarks
dd [CMake] Tidy up the organisation of compiler-rt when configured as a standalone 2018-06-27 12:56:34 +00:00
go Switch syscall(2)/__syscall(2) calls to libc calls on NetBSD 2018-10-01 19:50:12 +00:00
rtl Handle NetBSD alias for pthread_sigmask 2018-10-30 18:49:19 +00:00
tests [tsan] Use DARWIN_osx_LINK_FLAGS when building unit tests to match ASan behavior. 2018-06-21 18:00:51 +00:00
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt [compiler-rt][TSan] Add TSan runtime support for Go on linux-aarch64. 2018-09-19 11:56:20 +00:00
analyze_libtsan.sh [TSan] Slightly improve check_analyze script. 2015-12-07 20:18:50 +00:00
check_analyze.sh [TSan] Update test values 2018-09-12 22:16:14 +00:00
check_cmake.sh