hanchenye-llvm-project/compiler-rt/test
Kuba Mracek e7709560ea [tsan] Implement a 'ignore_noninstrumented_modules' flag to better suppress false positive races
On Darwin, we currently use 'ignore_interceptors_accesses', which is a heavy-weight solution that simply turns of race detection in all interceptors. This was done to suppress false positives coming from system libraries (non-instrumented code), but it also silences a lot of real races. This patch implements an alternative approach that should allow us to enable interceptors and report races coming from them, but only if they are called directly from instrumented code.

The patch matches the caller PC in each interceptors. For non-instrumented code, we call ThreadIgnoreBegin.

The assumption here is that the number of instrumented modules is low. Most likely there's only one (the instrumented main executable) and all the other modules are system libraries (non-instrumented).

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

llvm-svn: 291631
2017-01-11 00:54:26 +00:00
..
BlocksRuntime
asan Revert r291509, 291510 and 291511 2017-01-10 11:14:44 +00:00
builtins [builtins] Implement __floattitf() & __floatuntitf() 2017-01-06 18:46:35 +00:00
cfi [cfi] Mark tests as xfailing on Darwin 2016-11-14 23:12:52 +00:00
dfsan [DFSAN] Another unstable test in AArch64 breaking bots unnecessarily 2016-12-09 19:02:04 +00:00
esan [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
interception
lsan [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests 2016-11-29 19:25:53 +00:00
msan [msan] Intercept getutent and friends. 2016-12-15 22:00:14 +00:00
profile [PGO] Update the test cases after r291588. 2017-01-10 20:07:01 +00:00
safestack [asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (compiler-rt part) 2016-09-14 14:09:18 +00:00
sanitizer_common [sancov] introducing SANCOV_OPTIONS 2017-01-06 19:22:50 +00:00
scudo [scudo] Use the macro get_test_cc_for_arch for the tests 2016-12-23 18:40:47 +00:00
tsan [tsan] Implement a 'ignore_noninstrumented_modules' flag to better suppress false positive races 2017-01-11 00:54:26 +00:00
ubsan [sanitizer] Add macOS minimum deployment target to all compiler invocations in lit tests 2016-11-29 19:25:53 +00:00
xray [XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing the instruction cache after code modification 2017-01-10 16:16:33 +00:00
CMakeLists.txt [asan/win] Delay load dbghelp.dll to delay ucrtbase.dll initialization 2016-11-14 17:37:50 +00:00
lit.common.cfg [sanitizer] Use architecture/slice information when symbolizing fat Mach-O files on Darwin 2017-01-06 21:45:05 +00:00
lit.common.configured.in cfi: Fixes for check-cfi when configured as an external project. 2016-09-22 20:51:48 +00:00