[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_ATOMIC_ONLY_USE_BUILTINS (PR #82000)

Damien L-G via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 26 13:28:53 PST 2024


================
@@ -73,6 +73,11 @@ Deprecations and Removals
 
 - The ``_LIBCPP_INLINE_VISIBILITY`` and ``_VSTD`` macros have been removed in LLVM 19.
 
+- The ``_LIBCPP_ATOMIC_ONLY_USE_BUILTINS`` configuration option has been removed in LLVM 19. This should not affect
+  many users, except perhaps users using the library with ``-ffreestanding`` with a toolchain where compiler-rt or
+  libatomic is not available. If you are one such user, please reach out to the libc++ developers so we can collaborate
+  on a path for supporting atomics properly on Freestanding platforms.
----------------
dalg24 wrote:

Did you mean to capitalize **freestanding**?

https://github.com/llvm/llvm-project/pull/82000


More information about the libcxx-commits mailing list