diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-01-08 11:53:04 +0000 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-01-08 12:48:22 +0000 |
commit | 00530dee5d1295dc20ebafdd9a8a79662f41513e (patch) | |
tree | 5d0bd53c6f7290ba43518e236d999b2ab0b024ef /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 99c84af1a25a072df4f05d3f269f140a6e5ff18a (diff) | |
download | llvm-00530dee5d1295dc20ebafdd9a8a79662f41513e.zip llvm-00530dee5d1295dc20ebafdd9a8a79662f41513e.tar.gz llvm-00530dee5d1295dc20ebafdd9a8a79662f41513e.tar.bz2 |
[compiler-rt] Implement __atomic_is_lock_free
This function is called by the __atomic_is_lock_free() builtin if the value
cannot be resolved to true at compile time. Lack of this function is
causing the non-lockfree atomics tests in libc++ to not be run (see D91911)
This function is also added in D85044, but that review also adds support
for using lock-free atomics in more cases, whereas this is a minimal change
that just adds __atomic_is_lock_free() for the implementation of atomic.c.
Reviewed By: ldionne
Differential Revision: https://reviews.llvm.org/D92302
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions