LLVM-DWARFDUMP(1)

πŸ“¦
version 13.0.1 Β· 5 versions
, in ubuntu jammy

πŸ’… llvm-dwarfdump: pretty-print your DWARF, bestie ✨

okay so welcome to the LLVM-DWARFDUMP(1) manual page. This is the group-chat version of the manual for llvm-dwarfdump 13, and yes, we're gonna make DWARF debug info feel like less of a cryptid. πŸ’–

🌸 NAME 🌸

  • llvm-dwarfdump β€” manual page for llvm-dwarfdump 13.

πŸ’– DESCRIPTION πŸ’–

✨ OVERVIEW ✨

llvm-dwarfdump pretty-prints DWARF debug information in object files and debug info archives. Iconic. It's giving β€œlet me read the debug info so you don't have to squint at raw bytes.” πŸ”₯

πŸ¦‹ USAGE πŸ¦‹

llvm-dwarfdump [options] <input object files or .dSYM bundles>

πŸ’… OPTIONS πŸ’…

Okay, options time. Grab a lil snack. πŸ“

🌈 Color Options 🌈

  • --color β€” Use colors in output (default=autodetect). Slay, but make it automatic. πŸ’…

⭐ Generic Options ⭐

  • --help β€” Display available options (--help-hidden for more).
  • --help-list β€” Display list of available options (--help-list-hidden for more).
  • --version β€” Display the version of this program.

πŸ“ Section-specific Dump Options πŸ“

These control which sections are dumped. Where applicable, these parameters take an optional =<offset> argument to dump only the entry at the specified offset. no cap, very β€œpick your fave section” energy. πŸ’…

  • -a β€” Alias for --all.
  • --all β€” Dump all debug info sections.
  • --apple-names β€” Dump the .apple_names section.
  • --apple-namespaces β€” Dump the .apple_namespaces section.
  • --apple-objc β€” Dump the .apple_objc section.
  • --apple-types β€” Dump the .apple_types section.
  • --debug-abbrev β€” Dump the .debug_abbrev section.
  • --debug-addr β€” Dump the .debug_addr section.
  • --debug-aranges β€” Dump the .debug_aranges section.
  • --debug-cu-index β€” Dump the .debug_cu_index section.
  • --debug-frame[=<offset>] β€” Dump the .debug_frame section.
  • --debug-gnu-pubnames β€” Dump the .debug_gnu_pubnames section.
  • --debug-gnu-pubtypes β€” Dump the .debug_gnu_pubtypes section.
  • --debug-info[=<offset>] β€” Dump the .debug_info section.
  • --debug-line[=<offset>] β€” Dump the .debug_line section.
  • --debug-line-str β€” Dump the .debug_line_str section.
  • --debug-loc[=<offset>] β€” Dump the .debug_loc section.
  • --debug-loclists[=<offset>] β€” Dump the .debug_loclists section.
  • --debug-macro β€” Dump the .debug_macro section.
  • --debug-names β€” Dump the .debug_names section.
  • --debug-pubnames β€” Dump the .debug_pubnames section.
  • --debug-pubtypes β€” Dump the .debug_pubtypes section.
  • --debug-ranges β€” Dump the .debug_ranges section.
  • --debug-rnglists β€” Dump the .debug_rnglists section.
  • --debug-str β€” Dump the .debug_str section.
  • --debug-str-offsets β€” Dump the .debug_str_offsets section.
  • --debug-tu-index β€” Dump the .debug_tu_index section.
  • --debug-types[=<offset>] β€” Dump the .debug_types section.
  • --eh-frame β€” Alias for --debug-frame.
  • --gdb-index β€” Dump the .gdb_index section.

🧚 Specific Options 🧚

  • -F β€” Alias for --show-form.
  • --arch=<string> β€” Dump debug information for the specified CPU architecture only. Architectures may be specified by name or by number. This option can be specified multiple times, once for each desired architecture.
  • -c β€” Alias for --show-children.
  • --diff β€” Emit diff-friendly output by omitting offsets and addresses.
  • -f β€” Alias for --find.
  • --find=<name> β€” Search for the exact match for <name> in the accelerator tables and print the matching debug information entries. When no accelerator tables are available, the slower but more complete -name option can be used instead.
  • -i β€” Alias for --ignore-case.
  • --ignore-case β€” Ignore case distinctions when searching.
  • --lookup=<address> β€” Lookup <address> in the debug information and print out any available file, function, block and line table details.
  • -n β€” Alias for --name.
  • --name=<pattern> β€” Find and print all debug info entries whose name (DW_AT_name attribute) matches the exact text in <pattern>. When used with the -regex option, <pattern> is interpreted as a regular expression.
  • -o=<filename> β€” Redirect output to the specified file.
  • -p β€” Alias for --show-parents.
  • --parent-recurse-depth=<N> β€” Only recurse to a depth of N when displaying parents of debug info entries.
  • --quiet β€” Use with -verify to not emit to STDOUT.
  • -r β€” Alias for --recurse-depth.
  • --recurse-depth=<N> β€” Only recurse to a depth of N when displaying children of debug info entries.
  • --regex β€” Treat any <pattern> strings as regular expressions when searching instead of just as an exact string match.
  • --show-children β€” Show a debug info entry's children when selectively printing entries.
  • --show-form β€” Show DWARF form types after the DWARF attribute types.
  • --show-parents β€” Show a debug info entry's parents when selectively printing entries.
  • --show-section-sizes β€” Show the sizes of all debug sections, expressed in bytes.
  • --statistics β€” Emit JSON-formatted debug info quality metrics.
  • --summarize-types β€” Abbreviate the description of type unit entries.
  • -u β€” Alias for --uuid.
  • --uuid β€” Show the UUID for each architecture.
  • -v β€” Alias for --verbose.
  • --verbose β€” Print more low-level encoding details.
  • --verify β€” Verify the DWARF debug info.
  • -x β€” Alias for --regex.

Pass @FILE as argument to read options from FILE.


πŸ’œ that's the whole manual, bestie. signed, sealed, delivered: llvm-dwarfdump 13, July 2023, LLVM-DWARFDUMP(1) β€” mwah πŸ’‹
πŸ“¦ where this page comes from