Skip to content

[libcxx] added cxa_guard functions#758

Open
ZERICO2005 wants to merge 1 commit intomasterfrom
cxa_guard
Open

[libcxx] added cxa_guard functions#758
ZERICO2005 wants to merge 1 commit intomasterfrom
cxa_guard

Conversation

@ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Mar 18, 2026

__cxa_guard_acquire, __cxa_guard_release, and __cxa_guard_abort are emitted with -fthreadsafe-statics. Most commonly when building the libcxx_19_locale branch.

We currently define -fno-threadsafe-statics (see also #749) so Clang won't normally emit these. But they are harmless to add into the toolchain, and prevent users in the future from receiving linker errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant