Upgrade to 2022-era LLVM LIBCXX

This commit is contained in:
Justine Tunney 2024-05-27 02:12:27 -07:00
parent 2f4ca71f26
commit 8e68384e15
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2078 changed files with 165657 additions and 65010 deletions

View file

@ -147,7 +147,7 @@ static textwindows errno_t CloneWindows(int (*func)(void *, int), char *stk,
kNtStackSizeParamIsAReservation, &wt->utid))) {
if (flags & CLONE_SETTLS) {
struct CosmoTib *tib = tls;
tib->tib_syshand = h;
atomic_store_explicit(&tib->tib_syshand, h, memory_order_release);
}
if (flags & CLONE_PARENT_SETTID) {
*ptid = wt->tid;
@ -529,7 +529,7 @@ static errno_t CloneSilicon(int (*fn)(void *, int), char *stk, size_t stksz,
*ptid = tid;
if (flags & CLONE_SETTLS) {
struct CosmoTib *tib = tls;
tib[-1].tib_syshand = th;
atomic_store_explicit(&tib[-1].tib_syshand, th, memory_order_release);
}
}
unassert(!__syslib->__pthread_attr_destroy(attr));