diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-05-02 15:06:08 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-05-02 15:06:08 +0000 |
commit | 4e704facb41037e14f8f51332b839accabf3b016 (patch) | |
tree | dec27d1d8b9c5f5e24f76db90395d1408508f9ba /test | |
parent | 6d7e49d4d2f31a605745e436305eac8a29536b3d (diff) |
[sanitizer] Don't reuse the main thread in ThreadRegistry
There is a hard-to-reproduce crash happening on OS X that involves terminating the main thread (dispatch_main does that, see discussion at http://reviews.llvm.org/D18496) and later reusing the main thread's ThreadContext. This patch disables reuse of the main thread. I believe this problem exists only on OS X, because on other systems the main thread cannot be terminated without exiting the process.
Differential Revision: http://reviews.llvm.org/D19722
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions