Fix docs typo regarding lit.local.cfg files
[oota-llvm.git] / docs / CommandGuide / llvm-dwarfdump.rst
1 llvm-dwarfdump - print contents of DWARF sections
2 =================================================
3
4 SYNOPSIS
5 --------
6
7 :program:`llvm-dwarfdump` [*options*] [*filenames...*]
8
9 DESCRIPTION
10 -----------
11
12 :program:`llvm-dwarfdump` parses DWARF sections in the object files
13 and prints their contents in human-readable form.
14
15 OPTIONS
16 -------
17
18 .. option:: -debug-dump=section
19
20   Specify the DWARF section to dump.
21   For example, use ``abbrev`` to dump the contents of ``.debug_abbrev`` section,
22   ``loc.dwo`` to dump the contents of ``.debug_loc.dwo`` etc.
23   See ``llvm-dwarfdump --help`` for the complete list of supported sections.
24   Use ``all`` to dump all DWARF sections. It is the default.
25
26 EXIT STATUS
27 -----------
28
29 :program:`llvm-dwarfdump` returns 0. Other exit codes imply internal
30 program error.