xref: /freebsd/usr.bin/clang/llvm-dwarfdump/llvm-dwarfdump.1 (revision 7435ffaa83a408b2b53f9a955ea9898c1aa05429)
$FreeBSD$
Man page generated from reStructuredText.
.
"LLVM-DWARFDUMP" "1" "2017-12-24" "6" "LLVM"
NAME
llvm-dwarfdump - dump and verify DWARF debug information . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
SYNOPSIS
llvm-dwarfdump [options] [filename ...]
DESCRIPTION
llvm-dwarfdump parses DWARF sections in object files, archives, and .dSYM bundles and prints their contents in human-readable form. Only the .debug_info section is printed unless one of the section-specific options or \%--all is specified.
OPTIONS
NDENT 0.0

-a, --all Disassemble all supported DWARF sections. NINDENT NDENT 0.0

--arch=<arch> Dump DWARF debug information for the specified CPU architecture. Architectures may be specified by name or by number. This option can be specified multiple times, once for each desired architecture. All CPU architectures will be printed by default. NINDENT NDENT 0.0

-c, --show-children Show a debug info entry\(aqs children when using the \%--debug-info, \%--find, and \%--name options. NINDENT NDENT 0.0

-f <name>, --find=<name> Search for the exact text <name> in the accelerator tables and print the matching debug information entries. When there is no accelerator tables or the name of the DIE you are looking for is not found in the accelerator tables, try using the slower but more complete \%--name option. NINDENT NDENT 0.0

-F, --show-form Show DWARF form types after the DWARF attribute types. NINDENT NDENT 0.0

-h, --help Show help and usage for this command. NINDENT NDENT 0.0

-i, --ignore-case Ignore case distinctions in when searching entries by name or by regular expression. NINDENT NDENT 0.0

-n <pattern>, --name=<pattern> Find and print all debug info entries whose name (DW_AT_name attribute) matches the exact text in <pattern>. Use the \%--regex option to have <pattern> become a regular expression for more flexible pattern matching. NINDENT NDENT 0.0

--lookup=<address> Lookup <address> in the debug information and print out the file, function, block, and line table details. NINDENT NDENT 0.0

-o <path>, --out-file=<path> Redirect output to a file specified by <path>. NINDENT NDENT 0.0

-p, --show-parents Show a debug info entry\(aqs parent objects when using the \%--debug-info, \%--find, and \%--name options. NINDENT NDENT 0.0

-r <n>, --recurse-depth=<n> Only recurse to a maximum depth of <n> when dumping debug info entries. NINDENT NDENT 0.0

--statistics Collect debug info quality metrics and print the results as machine-readable single-line JSON output. NINDENT NDENT 0.0

-x, --regex Treat any <pattern> strings as regular expressions when searching instead of just as an exact string match. NINDENT NDENT 0.0

-u, --uuid Show the UUID for each architecture. NINDENT NDENT 0.0

--diff Dump the output in a format that is more friendly for comparing DWARF output from two different files. NINDENT NDENT 0.0

-v, --verbose Display verbose information when dumping. This can help to debug DWARF issues. NINDENT NDENT 0.0

--verify Verify the structure of the DWARF information by verifying the compile unit chains, DIE relationships graph, address ranges, and more. NINDENT NDENT 0.0

--version Display the version of the tool. NINDENT NDENT 0.0

--debug-abbrev, --debug-aranges, --debug-cu-index, --debug-frame [=<offset>], --debug-gnu-pubnames, --debug-gnu-pubtypes, --debug-info [=<offset>], --debug-line [=<offset>], --debug-loc [=<offset>], --debug-macro, --debug-pubnames, --debug-pubtypes, --debug-ranges, --debug-str, --debug-str-offsets, --debug-tu-index, --debug-types, --eh-frame, --gdb-index, --apple-names, --apple-types, --apple-namespaces, --apple-objc Dump the specified DWARF section by name. Only the .debug_info section is shown by default. Some entries support adding an =<offset> as a way to provide an optional offset of the exact entry to dump within the respective section. When an offset is provided, only the entry at that offset will be dumped, else the entire section will be dumped. Children of items at a specific offset can be dumped by also using the \%--show-children option where applicable. NINDENT

EXIT STATUS
llvm-dwarfdump returns 0 if the input files were parsed and dumped successfully. Otherwise, it returns 1.
SEE ALSO
dsymutil(1)
AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
COPYRIGHT
2003-2017, LLVM Project Generated by docutils manpage writer.
.