aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide/llvm-dwarfdump.rst
blob: afaa0be38194f09f702bc1d9af50b88bfb2fa10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
llvm-dwarfdump - print contents of DWARF sections
=================================================

SYNOPSIS
--------

:program:`llvm-dwarfdump` [*options*] [*filenames...*]

DESCRIPTION
-----------

:program:`llvm-dwarfdump` parses DWARF sections in the object files
and prints their contents in human-readable form.

OPTIONS
-------

.. option:: -debug-dump=section

  Specify the DWARF section to dump.
  For example, use ``abbrev`` to dump the contents of ``.debug_abbrev`` section,
  ``loc.dwo`` to dump the contents of ``.debug_loc.dwo`` etc.
  See ``llvm-dwarfdump --help`` for the complete list of supported sections.
  Use ``all`` to dump all DWARF sections. It is the default.

EXIT STATUS
-----------

:program:`llvm-dwarfdump` returns 0. Other exit codes imply internal
program error.