Skip to content

Commit 43feece

Browse files
committed
[llvm][docs] Add LLDB data formatters to DebuggingLLVM.rst
Add LLDB data formatters to the document about debugging LLVM.
1 parent 3119945 commit 43feece

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

llvm/docs/DebuggingLLVM.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ and each instruction printed by LLVM is suffixed with the file and line
9696
number of the instruction according to the debug information. Note that
9797
this requires debug information to be enabled (e.g. pass ``-g`` to Clang).
9898

99+
LLDB Data Formatters
100+
===================
101+
102+
A handful of `LLDB data formatters
103+
<https://lldb.llvm.org/resources/dataformatters.html>`__ are
104+
provided for some of the core LLVM libraries. To use them, execute the
105+
following (or add it to your ``~/.lldbinit``)::
106+
107+
command script import /path/to/lldbDataFormatters.py
108+
99109
GDB pretty printers
100110
===================
101111

0 commit comments

Comments
 (0)