llvm-project/compiler-rt/test/tsan/Linux
Dmitry Vyukov ce52e0339f tsan: fix another latent race size bug in test
The test contains a race in memset.
The size of reported race depends on how the accessed
memory range split into granules inside of tsan runtime.
The test used to report access of size 8, because presumably
the buffer ended up being aligned to 8 bytes. But after
some unrelated changes this test started to report accesses
of size 1 (presumably .data layout changed), which makes
the test fail.
Guarantee alignment of the buf object explicitly.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107149
2021-07-30 12:55:13 +02:00
..
check_memcpy.c
check_preinit.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
clockwait_double_lock.c [tsan] Add pthread_cond_clockwait interceptor 2020-11-18 14:39:19 -08:00
double_race.cpp tsan: fix another latent race size bug in test 2021-07-30 12:55:13 +02:00
fork_syscall.cpp tsan: add a simple syscall test 2021-05-12 06:42:11 +02:00
lit.local.cfg.py [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
mutex_robust.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
mutex_robust2.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
pie_no_aslr.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
syscall.cpp tsan: fix latent race size bug in test 2021-07-30 11:39:26 +02:00
syscall.h tsan: fix syscall test on aarch64 2021-05-12 09:00:51 +02:00
thread_timedjoin.c
thread_tryjoin.c
user_fopen.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00
user_malloc.cpp compiler-rt: Rename .cc file in test/tsan to .cpp 2019-08-02 07:18:07 +00:00