[libcxx-commits] [libcxx] edc9d91 - [libc++] Enable the GDB pretty printers for Clang (#135484)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 14 07:12:04 PDT 2025


Author: Nikolas Klauser
Date: 2025-05-14T10:12:01-04:00
New Revision: edc9d91ca4957e3a7b2e10848f3c71fae765fe07

URL: https://github.com/llvm/llvm-project/commit/edc9d91ca4957e3a7b2e10848f3c71fae765fe07
DIFF: https://github.com/llvm/llvm-project/commit/edc9d91ca4957e3a7b2e10848f3c71fae765fe07.diff

LOG: [libc++] Enable the GDB pretty printers for Clang (#135484)

The GDB pretty printer test works just fine with Clang in the CI now,
except that it breaks (not exactly unexpectedly) with optimizations
enabled.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
index dcdce261298c1..f125cc9adc491 100644
--- a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
+++ b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
@@ -8,11 +8,12 @@
 
 // REQUIRES: host-has-gdb-with-python
 // REQUIRES: locale.en_US.UTF-8
+// REQUIRES: optimization=none
 // UNSUPPORTED: no-localization
 // UNSUPPORTED: c++03
 
-// TODO: Investigate these failures which break the CI.
-// UNSUPPORTED: clang-18, clang-19, clang-20, clang-21
+// TODO: Investigate why this fails on the arm bots
+// UNSUPPORTED: target=arm{{.*}}
 
 // The Android libc++ tests are run on a non-Android host, connected to an
 // Android device over adb. gdb needs special support to make this work (e.g.


        


More information about the libcxx-commits mailing list