[libcxx-commits] [PATCH] D113112: [libc++] Add XFAIL annotations for older Clangs

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 3 08:49:39 PDT 2021


ldionne updated this revision to Diff 384470.
ldionne added a comment.

Try to address failures on Clang "ToT"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113112/new/

https://reviews.llvm.org/D113112

Files:
  libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp


Index: libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
===================================================================
--- libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
+++ libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
@@ -11,6 +11,14 @@
 // UNSUPPORTED: libcpp-has-no-localization
 // UNSUPPORTED: c++03
 
+// Older versions of Clang do not contain https://llvm.org/D111477.
+// XFAIL: clang-12, clang-13
+// XFAIL: apple-clang-12, apple-clang-13
+
+// TODO(ldionne): We mark this as unsupported on clang-14 until the CI builders pick up
+//                a version of Clang 14 (the current ToT) that contains D111477.
+// UNSUPPORTED: clang-14
+
 // RUN: %{cxx} %{flags} %s -o %t.exe %{compile_flags} -g %{link_flags}
 // Ensure locale-independence for unicode tests.
 // RUN: env LANG=en_US.UTF-8 %{gdb} -nx -batch -iex "set autoload off" -ex "source %S/../../../utils/gdb/libcxx/printers.py" -ex "python register_libcxx_printer_loader()" -ex "source %S/gdb_pretty_printer_test.py" %t.exe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113112.384470.patch
Type: text/x-patch
Size: 1019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211103/d063389b/attachment.bin>


More information about the libcxx-commits mailing list