[libcxx-commits] [libcxx] [libc++] Install the GDB pretty printers under share/ (PR #181416)
Michael Buch via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 16 02:05:00 PST 2026
================
@@ -61,3 +61,11 @@ add_custom_target(libcxx-generate-files
libcxx-generate-width-estimation-table
libcxx-indic-conjunct-break-table
COMMENT "Create all the auto-generated files in libc++ and its tests.")
+
+# Install the GDB pretty printers.
+install(
+ FILES "${LIBCXX_SOURCE_DIR}/utils/gdb/libcxx/printers.py"
----------------
Michael137 wrote:
Any idea how linux distributions typically install libcxx? Would they simply set `LIBCXX_INSTALL_EXTRAS_DIR`?
I think there's some special naming schemes that GDB requires for the formatters to get detected. But probably something only distributions can realistically enforce
https://github.com/llvm/llvm-project/pull/181416
More information about the libcxx-commits
mailing list