[libcxx-commits] [libcxx] [libc++] Enable the GDB pretty printers for Clang (PR #135484)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Apr 12 01:28:40 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Nikolas Klauser (philnik777)
<details>
<summary>Changes</summary>
The GDB pretty printer test works just fine with Clang in the CI now, except that it breaks (not exactly unexpectedly) with optimizations enabled.
---
Full diff: https://github.com/llvm/llvm-project/pull/135484.diff
1 Files Affected:
- (modified) libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp (+1-3)
``````````diff
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..d82842fd5ad5c 100644
--- a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
+++ b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
@@ -8,12 +8,10 @@
// 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
-
// 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.
// gdbclient.py, ndk-gdb.py, gdbserver), and the Android organization doesn't
``````````
</details>
https://github.com/llvm/llvm-project/pull/135484
More information about the libcxx-commits
mailing list