Alexey Samsonov | a47b11a | 2014-05-19 22:53:29 +0000 | [diff] [blame] | 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 | |
Alexey Samsonov | 85c7d66 | 2015-06-25 23:40:15 +0000 | [diff] [blame] | 29 | :program:`llvm-dwarfdump` returns 0 if the input files were parsed and dumped |
| 30 | successfully. Otherwise, it returns 1. |