[libcxx-commits] [PATCH] D118391: Omit atomic_{, un}signed_lock_free if unsupported

Eli Friedman via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 27 14:50:38 PST 2022


efriedma added a comment.

The way to reproduce this is to build libc++ using a triple that doesn't have any lock-free atomic types.  For example, arm-none-gnueabi, or armv6m-none-gnueabi, or riscv32-unknown-elf.  As far as I know, all commonly used non-baremetal targets have lock-free atomics, so this is only an issue for baremetal.  (e.g. riscv32-linux assumes atomics, and arm-linux uses kernel emulation of atomics.)

Internally, we use a proprietary C library, so I don't think we can really help with setting up a public buildbot.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118391/new/

https://reviews.llvm.org/D118391



More information about the libcxx-commits mailing list