[libcxx-commits] [libcxx] [libc++][test] Workaround for atomic tests linker errors on Linux systems without libatomic.so (PR #73398)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 27 06:49:28 PST 2023
================
@@ -8,7 +8,7 @@
//
// UNSUPPORTED: no-threads
// XFAIL: c++03
-// XFAIL: !non-lockfree-atomics
+// UNSUPPORTED: !non-lockfree-atomics && !add-latomic-workaround
----------------
ldionne wrote:
Those should be `XFAIL: !non-lockfree-atomics`.
1. This can be `XFAIL` instead of `UNSUPPORTED` since it really should fail.
2. Checking for `&& !add-latomic-workaround` isn't desirable -- right now we're disabling the test on all Linux platforms (where we do add `-latomic`).
https://github.com/llvm/llvm-project/pull/73398
More information about the libcxx-commits
mailing list