[libcxx-commits] [libcxx] [libc++][test] re-enable clear padding runtime test (PR #211258)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jul 25 10:09:46 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Hui (huixie90)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/211258.diff
1 Files Affected:
- (modified) libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp (+14-1)
``````````diff
diff --git a/libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp b/libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp
index f9c910eca1f47..73ff02c10207d 100644
--- a/libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp
+++ b/libcxx/test/libcxx/atomics/builtin_clear_padding.pass.cpp
@@ -7,7 +7,20 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03
// UNSUPPORTED: gcc
-// UNSUPPORTED: clang-21, clang-22, clang-23, clang-24, apple-clang-21
+
+// Older versions of Clang don't support __builtin_clear_padding
+// UNSUPPORTED: clang-19, clang-20, clang-21, clang-22, apple-clang-17, apple-clang-21
+
+// Older Clang doesn't handle __builtin_clear_padding correctly on Windows
+// (see https://github.com/llvm/llvm-project/issues/209787)
+// XFAIL: clang-23 && target={{.+}}-{{.+}}-windows-msvc
+// UNSUPPORTED: clang-24 && target={{.+}}-{{.+}}-windows-msvc
+
+// ASAN has a bug where it does not calculate the correct size
+// of ext_vector_type of fp80 long double
+// (see https://github.com/llvm/llvm-project/issues/212002)
+// XFAIL: clang-23 && asan
+// UNSUPPORTED: clang-24 && asan
// ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated-volatile -Wno-dynamic-class-memaccess
``````````
</details>
https://github.com/llvm/llvm-project/pull/211258
More information about the libcxx-commits
mailing list