[libcxx-commits] [PATCH] D91911: [libc++] Add a 'is-lockfree-runtime-function' lit feature

Alexander Richardson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 1 08:25:53 PST 2020


arichardson added a comment.

Thanks for reviewing!



================
Comment at: libcxx/utils/libcxx/test/features.py:52
+          """)),
+  Feature(name='is-lockfree-runtime-function',
+          when=lambda cfg: sourceBuilds(cfg, """
----------------
ldionne wrote:
> Can you add a TODO to remove this once compiler-rt ships `atomic_is_lockfree`?
Sure, will do. However, it will still be needed for older versions of macOS+FreeBSD that don't include the function, so I guess it will be a while until it can be removed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91911



More information about the libcxx-commits mailing list