Fix a deadlock in __cxa_guard_abort in tsan
authorMatt Kulukundis <matt.fowles@gmail.com>
Mon, 15 Nov 2021 09:31:19 +0000 (10:31 +0100)
committerDmitry Vyukov <dvyukov@google.com>
Mon, 15 Nov 2021 09:39:08 +0000 (10:39 +0100)
commit2d9bdd9dba05f01941f97a2ccc911212139142d0
tree17dfc73f3f6d664779d3588213f3eadb062377d5
parent6c8eecd6769db3f8ef42d368f6d959504330968a
Fix a deadlock in __cxa_guard_abort in tsan

hat tip: @The_Whole_Daisy for helping to isolate

Reviewed By: dvyukov, fowles

Differential Revision: https://reviews.llvm.org/D113713
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
compiler-rt/test/tsan/static_init7.cpp [new file with mode: 0644]