Add documentation for llvm-dwarfdump tool

llvm-svn: 209173
This commit is contained in:
Alexey Samsonov 2014-05-19 22:53:29 +00:00
parent 403a4f9b82
commit a47b11a3c5
2 changed files with 31 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Basic Commands
llvm-profdata
llvm-stress
llvm-symbolizer
llvm-dwarfdump
Debugging Tools
~~~~~~~~~~~~~~~

View File

@ -0,0 +1,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.