diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-11-19 14:26:07 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-11-19 14:26:07 +0100 |
commit | d686cb0d740b0278fdbd7915f43faff14b203888 (patch) | |
tree | 8f7615b8e9467f6d2d9e5b352f4f04e4602e2403 /libatomic | |
parent | ea2954df43d4162af23a20c84f4c5485463977ac (diff) | |
download | gcc-d686cb0d740b0278fdbd7915f43faff14b203888.tar.gz |
libphobos: Don't call __gthread_key_delete in the emutls destroy function.
Fixes a EXC_BAD_ACCESS issue seen on Darwin when the libphobos DSO gets
unloaded. Based on reading libgcc's emutls implementation, as it
doesn't call __gthread_key_delete directly, neither should libphobos.
libphobos/ChangeLog:
* libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
from global array.
(_d_emutls_destroy): Don't call __gthread_key_delete.
Diffstat (limited to 'libatomic')
0 files changed, 0 insertions, 0 deletions