Skip to content

Commit 60d0515

Browse files
authored
Add 64bit atomic check in the is_always_lock_free_pass test (#609)
1 parent 8abd9ca commit 60d0515

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ set(
288288
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0007-PATCH-Remove-ctime.timespec.compile.pass.cpp-xfail.patch
289289
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0008-PATCH-libc-AArch64-Add-an-AArch64-setjmp-longjmp.-10.patch
290290
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0009-DAGISel-Keep-flags-when-converting-FP-load-store-to-.patch
291+
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0010-Add-64bit-atomic-check-in-the-is_always_lock_free_pa.patch
291292
)
292293
FetchContent_Declare(llvmproject
293294
GIT_REPOSITORY https://github.com/llvm/llvm-project.git
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 627a98558d991df235b58eb33c666d9e674d54be Mon Sep 17 00:00:00 2001
2+
From: Vrukesh V Panse <[email protected]>
3+
Date: Wed, 18 Dec 2024 20:34:23 +0000
4+
Subject: Add 64bit atomic check in the is_always_lock_free_pass test
5+
6+
---
7+
.../std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
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
11+
index 723e7b36f503..0e3f5dbf423a 100644
12+
--- a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
13+
+++ b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
14+
@@ -7,7 +7,7 @@
15+
//===----------------------------------------------------------------------===//
16+
17+
// UNSUPPORTED: c++03, c++11, c++14
18+
-// XFAIL: LIBCXX-PICOLIBC-FIXME
19+
+// XFAIL: !has-64-bit-atomics
20+
21+
// <atomic>
22+
//
23+
--
24+
2.34.1
25+

0 commit comments

Comments
 (0)