forked from OSchip/llvm-project
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 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| tsan_clock_test.cc | ||
| tsan_dense_alloc_test.cc | ||
| tsan_flags_test.cc | ||
| tsan_mman_test.cc | ||
| tsan_mutex_test.cc | ||
| tsan_mutexset_test.cc | ||
| tsan_shadow_test.cc | ||
| tsan_stack_test.cc | ||
| tsan_sync_test.cc | ||
| tsan_unit_test_main.cc | ||
| tsan_vector_test.cc | ||