[libcxx-commits] [libcxx] Add 64bit atomic check in the is_always_lock_free_pass test. (PR #111540)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 8 07:55:39 PDT 2024
https://github.com/simpal01 created https://github.com/llvm/llvm-project/pull/111540
Currently this test is completely xfailed as part of the patch https://github.com/llvm/llvm-project/pull/106077. But this test works on A and R profile, not in v7M profile. Because the test contain cases in which m-profile will fail for atomic types greater than 4 bytes in size.
>From 26bf185c247b2017d456efed9e7edd86637bd090 Mon Sep 17 00:00:00 2001
From: Simi Pallipurath <simi.pallipurath at arm.com>
Date: Tue, 8 Oct 2024 15:53:11 +0100
Subject: [PATCH] Add 64bit atomic check in the is_always_lock_free_pass test.
Currently this test is completely xfailed. But this test works
on A and R profile, not in v7M profile. Because the test contain
cases in which m-profile will fail for atomic types greater than
4 bytes in size.
---
.../std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
index 1ebe31375079b8..e922bc7413514a 100644
--- a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
+++ b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14
-// XFAIL: LIBCXX-PICOLIBC-FIXME
+// XFAIL: !has-64-bit-atomics
// <atomic>
//
More information about the libcxx-commits
mailing list