[libcxx] [clang] [llvm] [clang-tools-extra] [libc++][hardening] Categorize assertions related to strict weak ordering (PR #77405)

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 13:51:02 PST 2024


================
@@ -52,204 +51,234 @@
 
 class ComparisonResults {
----------------
ldionne wrote:

We need to take the parts of this test that would reproduce an OOB access inside `std::sort` & friends to a new test file. And that one should be enabled whenever the valid-element-access checks are enabled.

And then this test becomes a test for the debug mode, so we should be able to remove `XFAIL: libcpp-hardening-mode=debug`.

https://github.com/llvm/llvm-project/pull/77405


More information about the llvm-commits mailing list