diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-01-08 11:54:43 +0000 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-01-08 12:48:22 +0000 |
commit | 32733c347d7bc77ce2c40b067a3bdaadc4b8aadf (patch) | |
tree | 10a86edf61f79b331311a8efa8395495c708587c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 00530dee5d1295dc20ebafdd9a8a79662f41513e (diff) | |
download | llvm-32733c347d7bc77ce2c40b067a3bdaadc4b8aadf.zip llvm-32733c347d7bc77ce2c40b067a3bdaadc4b8aadf.tar.gz llvm-32733c347d7bc77ce2c40b067a3bdaadc4b8aadf.tar.bz2 |
[libc++] Add missing XFAIL to tests that need __atomic_* libcalls
FreeBSD did not provide the __atomic_* functions as part of the base
system until recently. They were added to libgcc_s in SVN revision r364753
(August 2020), so check for availability of 'non-lockfree-atomics' so that
these tests do not fail unexpectedly on older versions of FreeBSD.
This also removes the #ifndef __APPLE__ from atomic_helpers.h that was used
to work around lack of atomic runtime functions on older Apple platforms
and replaces it with XFAIL: !non-lockfree-atomics.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D88818
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions