-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Updating the XFail on PowerPC to debug mode for layout_stride/assert.conversion.pass.cpp #79169
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
Conversation
…conversion.pass.cpp
@llvm/pr-subscribers-libcxx Author: Maryam Moghadas (maryammo) Changes…conversion.pass.cpp Full diff: https://github.com/llvm/llvm-project/pull/79169.diff 1 Files Affected:
diff --git a/libcxx/test/libcxx/containers/views/mdspan/layout_stride/assert.conversion.pass.cpp b/libcxx/test/libcxx/containers/views/mdspan/layout_stride/assert.conversion.pass.cpp
index 81f6321ef519cd8..fbd225b587749c2 100644
--- a/libcxx/test/libcxx/containers/views/mdspan/layout_stride/assert.conversion.pass.cpp
+++ b/libcxx/test/libcxx/containers/views/mdspan/layout_stride/assert.conversion.pass.cpp
@@ -10,7 +10,7 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20
// UNSUPPORTED: libcpp-hardening-mode=none
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
-// XFAIL: target=powerpc{{.*}}le-unknown-linux-gnu
+// XFAIL: libcpp-hardening-mode=debug && target=powerpc{{.*}}le-unknown-linux-gnu
// <mdspan>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM and is in agreement with the offending commits author's comment, thank you.
Please correct the title and PR description pre-commit so it goes in formatted normally.
What is special about PPC in the debug mode? I don't understand why only that test needs something special in that case, too. |
@ldionne The root cause is that these tests fail with a different assertion than the expected one on PowerPC (I don't know why). These tests are run in the |
It looks to me like the root cause must be something specific to PowerPC, like the size of a type or its signedness differing from mainstream platforms. Or maybe the fact that this bot is Little Endian. Either way, we really should figure out the underlying issue(s) here instead of just blindly XFAILing them like we did in 503dbe7. |
@maryammo Please uncheck the "keep my email private" checkbox in the Github settings. It is causing your patches to be committed under an anonymous email address, and we want to steer away from that. |
Done, Thanks. |
Adding the debug hardening modes into PowerPC target to check the assertion messages, to fix the PPC rehl bot. This is needed as this commit changed the assertion to trap in production hardening modes.