[Lldb-commits] [lldb] [llvm] [lldb][Docs] Add examples section for variable formatting (PR #194916)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 30 09:18:34 PDT 2026
================
@@ -1383,6 +1383,110 @@ displayed. The reason the debugger warns you is that enabling an empty category
might be a typo, and you effectively wanted to enable a similarly-named but
not-empty category.
+Examples
+--------
+
+These are a few examples of summaries and synthetic children providers for
+types you may want to format.
+
+You can find further examples here:
+
+- `LLVM Data Formatters <https://github.com/llvm/llvm-project/blob/main/llvm/utils/lldbDataFormatters.py>`_
+- `Coca (Objective-C) Formatters <https://github.com/llvm/llvm-project/tree/main/lldb/examples/summaries/cocoa>`_
+.. TODO: Add libc++ formatters here
----------------
Nerixyz wrote:
In #187677, the libc++ formatters are ported to Python. I thought we could link them here.
https://github.com/llvm/llvm-project/pull/194916
More information about the lldb-commits
mailing list