diff --git a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp --- a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp +++ b/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