llvm-project/compiler-rt/lib/tsan/tests/unit
Dmitry Vyukov 3efe395788 tsan: change tsan/Go interface for obtaining the current Processor
Current interface assumes that Go calls ProcWire/ProcUnwire
to establish the association between thread and proc.
With the wisdom of hindsight, this interface does not work
very well. I had to sprinkle Go scheduler with wire/unwire
calls, and any mistake leads to hard to debug crashes.
This is not something one wants to maintian.
Fortunately, there is a simpler solution. We can ask Go
runtime as to what is the current Processor, and that
question is very easy to answer on Go side.
Switch to such interface.

llvm-svn: 267703
2016-04-27 12:30:48 +00:00
..
CMakeLists.txt [TSan] Use Clang to compile and link TSan unit tests with TSan runtime 2013-09-11 09:56:33 +00:00
tsan_clock_test.cc [tsan] Add TSan unit test support for OS X 2015-11-11 14:53:57 +00:00
tsan_dense_alloc_test.cc [TSan] Fix signed-compare warning in the unit test 2014-11-03 22:17:39 +00:00
tsan_flags_test.cc [Sanitizers] Unify the semantics and usage of "exitcode" runtime flag across all sanitizers. 2015-08-21 20:49:37 +00:00
tsan_mman_test.cc [tsan] Fix CallocOverflow unit test on OS X 2015-11-24 13:27:33 +00:00
tsan_mutex_test.cc Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
tsan_mutexset_test.cc tsan: fix incorrect test 2013-03-20 13:49:45 +00:00
tsan_shadow_test.cc tsan: flip is_write bit in shadow to is_read 2013-02-01 10:02:55 +00:00
tsan_stack_test.cc [TSan] Use StackTrace from sanitizer_common where applicable 2014-11-03 22:23:44 +00:00
tsan_sync_test.cc tsan: change tsan/Go interface for obtaining the current Processor 2016-04-27 12:30:48 +00:00
tsan_unit_test_main.cc [sanitizer] On OS X, verify that interceptors work and abort if not, take 2 2016-03-17 08:37:25 +00:00
tsan_vector_test.cc tsan: remove in_rtl counter 2013-12-24 12:55:56 +00:00