llvm-project/compiler-rt/lib/tsan/tests/rtl
Joachim Protze 7358a1104a [TSan] Optimize handling of racy address
This patch splits the handling of racy address and racy stack into separate
functions. If a race was already reported for the address, we can avoid the
cost for collecting the involved stacks.

This patch also removes the race condition in storing the racy address / racy
stack. This race condition allowed all threads to report the race.

This patch changes the transitive suppression of reports. Previously
suppression could transitively chain memory location and racy stacks.
Now racy memory and racy stack are separate suppressions.

Commit again, now with fixed tests.

Reviewed by: dvyukov

Differential Revision: https://reviews.llvm.org/D83625
2020-07-16 16:22:57 +02:00
..
CMakeLists.txt compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00
tsan_bench.cpp compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00
tsan_mop.cpp compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00
tsan_mutex.cpp compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00
tsan_posix.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_posix_util.h
tsan_string.cpp compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00
tsan_test.cpp compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00
tsan_test_util.h
tsan_test_util_posix.cpp [TSan] Optimize handling of racy address 2020-07-16 16:22:57 +02:00
tsan_thread.cpp compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp 2019-08-01 14:26:37 +00:00