[libcxx-commits] [libcxx] d25f1a1 - Add 64bit atomic check in the is_always_lock_free_pass test. (#111540)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 9 06:19:16 PDT 2024


Author: simpal01
Date: 2024-10-09T09:19:11-04:00
New Revision: d25f1a19c8cc68f3ff4659192605d39c35474cc8

URL: https://github.com/llvm/llvm-project/commit/d25f1a19c8cc68f3ff4659192605d39c35474cc8
DIFF: https://github.com/llvm/llvm-project/commit/d25f1a19c8cc68f3ff4659192605d39c35474cc8.diff

LOG: Add 64bit atomic check in the is_always_lock_free_pass test. (#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.

Added: 
    

Modified: 
    libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp

Removed: 
    


################################################################################
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