diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2026-03-12 13:40:34 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-03-14 04:30:25 +0000 |
| commit | 9d26b82826d9962d5085bc5d9df7f8a762c57602 (patch) | |
| tree | ac3dda553dfa740e706305521956730c81d0ee4a /gnu/usr.bin/send-pr/(developers-only) | |
| parent | 728ae49a6b81edb3eec5ab70a63bb83db8f5dce5 (diff) | |
The thread_local variable may creates another thread_local variable
inside its dtor. This new object is immediately be registered in
__cxa_thread_atexit() and need to be freed before processing another
variable.
This fixes the libcxx test thread_local_destruction_order.pass.cpp.
Reported by: kib
Approved by: lwhsu (mentor)
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55826
Diffstat (limited to 'gnu/usr.bin/send-pr/(developers-only)')
0 files changed, 0 insertions, 0 deletions
