From beb413acce87e4d3a7084ae0b59cc43d65439222 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 6 Sep 2022 13:42:57 -0700 Subject: [PATCH] [test][libcxx] Mark ubsan test as UNSUPPORTED It inconsistently fails on bots. --- .../libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp b/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp index d655236..71b9331 100644 --- a/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp +++ b/libcxx/test/libcxx/language.support/support.dynamic/libcpp_deallocate.sh.cpp @@ -18,7 +18,10 @@ // nor does the dynamic library shipped with z/OS. // UNSUPPORTED: target={{.+}}-zos{{.*}} -// XFAIL: sanitizer-new-delete && !hwasan, ubsan +// XFAIL: sanitizer-new-delete && !hwasan + +// It fails with clang-14 or clang-16, but passes with clang-15. +// UNSUPPORTED: ubsan // GCC doesn't support the aligned-allocation flags. // XFAIL: gcc -- 2.7.4