diff options
| author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-19 12:06:20 +0000 |
|---|---|---|
| committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-19 12:06:20 +0000 |
| commit | f503d51e5baccae080b71e2db913e05dfe2a251f (patch) | |
| tree | daef5f8fd203671de8abc516c578b124f6cc72a6 /llvm/test/CodeGen/X86/vec_extract-avx.ll | |
| parent | 9eb6df9f1e6fbef599db6bf68e55324c9e9fb5d8 (diff) | |
| download | bcm5719-llvm-f503d51e5baccae080b71e2db913e05dfe2a251f.tar.gz bcm5719-llvm-f503d51e5baccae080b71e2db913e05dfe2a251f.zip | |
[tsan] For OS X thread finalization, remove g_thread_finalize_key in favor of libpthread hooks
On OS X, the thread finalization is fragile due to thread-local variables destruction order. I've seen cases where the we destroy the ThreadState too early and subsequent thread-local values' destructors call interceptors again. Let's replace the TLV-based thread finalization method with libpthread hooks. The notification PTHREAD_INTROSPECTION_THREAD_TERMINATE is called *after* all TLVs have been destroyed.
Differential Revision: http://reviews.llvm.org/D14777
llvm-svn: 253560
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_extract-avx.ll')
0 files changed, 0 insertions, 0 deletions

