diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-05-19 22:53:29 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-05-19 22:53:29 +0000 |
commit | a47b11a3c5804ecb73cd04a86b1d78350b031136 (patch) | |
tree | fe28b25abeb6ed992b06e5caa5d17320ba0bc972 /llvm/docs/CommandGuide/llvm-dwarfdump.rst | |
parent | 403a4f9b826da18c593b1863558e2ad28db867a9 (diff) | |
download | bcm5719-llvm-a47b11a3c5804ecb73cd04a86b1d78350b031136.tar.gz bcm5719-llvm-a47b11a3c5804ecb73cd04a86b1d78350b031136.zip |
Add documentation for llvm-dwarfdump tool
llvm-svn: 209173
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-dwarfdump.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-dwarfdump.rst | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-dwarfdump.rst b/llvm/docs/CommandGuide/llvm-dwarfdump.rst new file mode 100644 index 00000000000..afaa0be3819 --- /dev/null +++ b/llvm/docs/CommandGuide/llvm-dwarfdump.rst @@ -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. |