From: David Blaikie Date: Tue, 20 Dec 2016 17:33:58 +0000 (+0000) Subject: Add some brief documentation about GDB pretty printers X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=063b272bbbf4cd6041f717677f58cca18afd284e;p=platform%2Fupstream%2Fllvm.git Add some brief documentation about GDB pretty printers llvm-svn: 290186 --- diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst index 7e11983..6f136ce 100644 --- a/llvm/docs/ProgrammersManual.rst +++ b/llvm/docs/ProgrammersManual.rst @@ -2194,6 +2194,22 @@ reverse) is O(1) worst case. Testing and setting bits within 128 bits (depends on size) of the current bit is also O(1). As a general statement, testing/setting bits in a SparseBitVector is O(distance away from last set bit). +.. _debugging: + +Debugging +========= + +A handful of `GDB pretty printers +`__ are +provided for some of the core LLVM libraries. To use them, execute the +following (or add it to your ``~/.gdbinit``):: + + source /path/to/llvm/src/utils/gdb-scripts/prettyprinters.py + +It also might be handy to enable the `print pretty +