tsan: fix tls_race3 test on darwin
authorDmitry Vyukov <dvyukov@google.com>
Tue, 28 Sep 2021 14:59:45 +0000 (16:59 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 28 Sep 2021 15:07:51 +0000 (17:07 +0200)
commitade5023c54cffcbefe0557b5473d55b06e40809b
tree0d56d8c0e5aefcfa38340b1bb3531ec1a0b53d84
parentb38c04ab7f8f847eac2b4b6f965137a85c967d21
tsan: fix tls_race3 test on darwin

Darwin also needs to use __tsan_tls_initialization
to pass the test.

Differential Revision: https://reviews.llvm.org/D110631
compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp