llvm-project/compiler-rt/lib/tsan/tests/unit
Dmitry Vyukov 7505cc301f tsan: remove tracking of racy addresses
We used to deduplicate based on the race address to prevent lots
of repeated reports about the same race.

But now we clear the shadow for the racy address in DoReportRace:

  // This prevents trapping on this address in future.
  for (uptr i = 0; i < kShadowCnt; i++)
    StoreShadow(&shadow_mem[i], i == 0 ? Shadow::kRodata : Shadow::kEmpty);

It should have the same effect of not reporting duplicates
(and actually better because it's automatically reset when the memory is reallocated).

So drop the address deduplication code. Both simpler and faster.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D130240
2022-07-25 10:33:26 +02:00
..
CMakeLists.txt tsan: remove old vector clocks 2021-12-21 19:54:27 +01:00
tsan_dense_alloc_test.cpp
tsan_flags_test.cpp tsan: remove tracking of racy addresses 2022-07-25 10:33:26 +02:00
tsan_ilist_test.cpp tsan: Fix the improper argument type in tsan_ilist_test.cpp 2021-07-29 20:49:16 -05:00
tsan_mman_test.cpp tsan: introduce New/Alloc/Free helpers 2021-07-30 11:51:55 +02:00
tsan_mutexset_test.cpp
tsan_shadow_test.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_stack_test.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_sync_test.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_trace_test.cpp tsan: fix a bug in trace part switching 2022-07-14 17:49:00 +02:00
tsan_unit_test_main.cpp [Sanitizer][Darwin] Cleanup MaybeReexec() function and usage 2022-07-08 14:31:42 -07:00
tsan_vector_clock_test.cpp tsan: add new vector clock 2021-08-02 13:45:31 +02:00