-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[SystemZ][z/OS] fix libcxx lit when aligned allocation/de. functions are not available #109693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SystemZ][z/OS] fix libcxx lit when aligned allocation/de. functions are not available #109693
Conversation
@llvm/pr-subscribers-libcxx Author: Zibi Sarbinowski (zibi2) ChangesThis PR fixes the following lit which was recently updated in PR 76756:
Full diff: https://github.com/llvm/llvm-project/pull/109693.diff 1 Files Affected:
diff --git a/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp b/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp
index a298f55ea7cf5c..7acdbdc2b45517 100644
--- a/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp
+++ b/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp
@@ -195,10 +195,12 @@ int main(int, char**) {
test<TrivialEmptyType, FinalEmptyAlloc>();
test<TrivialEmptyType, NonTrivialAlloc>();
+#if !defined(_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION)
test<OveralignedEmptyType, TrivialEmptyAlloc>();
test<OveralignedEmptyType, TrivialNonEmptyAlloc>();
test<OveralignedEmptyType, FinalEmptyAlloc>();
test<OveralignedEmptyType, NonTrivialAlloc>();
+#endif
test<TrivialNonEmptyType, TrivialEmptyAlloc>();
test<TrivialNonEmptyType, TrivialNonEmptyAlloc>();
|
...cxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp
Outdated
Show resolved
Hide resolved
The CI failures are already reported in #99819. |
Please rebase onto main to re-trigger CI. The CI instability should be resolved now. |
19c52a6
to
2dc94f9
Compare
…ion is not available (llvm#109693) This PR fixes the shared_ptr control block layout test that was recently updated in llvm#76756. When aligned allocation/deallocation is not available, part of the test doesn't work.
This PR fixes the following lit which was recently updated in PR 76756:
FAIL: ibm-zos-libc++-shared.cfg.in :: libcxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp
Here are some compilation errors