LLVM-DWARFDUMP(1)
π LLVM-DWARFDUMP(1) β User Commands π
okay bestie, sit down, hydrate, and let me tell you about llvm-dwarfdump from LLVM 14, because this little icon does a LOT and you're gonna want the whole tea. π«β¨
πΈ NAME πΈ
llvm-dwarfdump β manual page for llvm-dwarfdump 14
π¦ DESCRIPTION π¦
OVERVIEW: pretty-print DWARF debug information in object files and debug info archives. that's it, that's the whole vibe β it takes your debug info and makes it β¨ legible β¨.
USAGE:
llvm-dwarfdump [options] <input object files or .dSYM bundles>
OPTIONS:
π Color Options π
--colorβ use colors in output (default=autodetect). she decides for herself whether the terminal is serving color energy.
π Generic Options π
--helpβ display available options (--help-hiddenfor more). yes there are hidden ones. iykyk.--help-listβ display list of available options (--help-list-hiddenfor more).--versionβ display the version of this program.
π Section-specific Dump Options π
these control which sections get dumped. where applicable, these parameters take an optional =<offset> argument to dump only the entry at the specified offset. so precise. so demure. π
-aβ alias for--all--allβ dump all debug info sections--apple-namesβ dump the.apple_namessection--apple-namespacesβ dump the.apple_namespacessection--apple-objcβ dump the.apple_objcsection--apple-typesβ dump the.apple_typessection--debug-abbrevβ dump the.debug_abbrevsection--debug-addrβ dump the.debug_addrsection--debug-arangesβ dump the.debug_arangessection--debug-cu-indexβ dump the.debug_cu_indexsection--debug-frame[=<offset>]β dump the.debug_framesection--debug-gnu-pubnamesβ dump the.debug_gnu_pubnamessection--debug-gnu-pubtypesβ dump the.debug_gnu_pubtypessection--debug-info[=<offset>]β dump the.debug_infosection--debug-line[=<offset>]β dump the.debug_linesection--debug-line-strβ dump the.debug_line_strsection--debug-loc[=<offset>]β dump the.debug_locsection--debug-loclists[=<offset>]β dump the.debug_loclistssection--debug-macroβ dump the.debug_macrosection--debug-namesβ dump the.debug_namessection--debug-pubnamesβ dump the.debug_pubnamessection--debug-pubtypesβ dump the.debug_pubtypessection--debug-rangesβ dump the.debug_rangessection--debug-rnglistsβ dump the.debug_rnglistssection--debug-strβ dump the.debug_strsection--debug-str-offsetsβ dump the.debug_str_offsetssection--debug-tu-indexβ dump the.debug_tu_indexsection--debug-types[=<offset>]β dump the.debug_typessection--eh-frameβ alias for--debug-frame--gdb-indexβ dump the.gdb_indexsection
β 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. so if you're juggling multiple archs, just say it again, she'll listen.-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-nameoption can be used instead.-iβ alias for--ignore-case.--ignore-caseβ ignore case distinctions when using--name.--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_nameattribute) matches the exact text in<pattern>. when used with the-regexoption,<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-verifyto 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 with--name. if--ignore-caseis also specified, the regular expression becomes case-insensitive.--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
π«Ά oh and one more thing bestie β pass@FILEas an argument to read options fromFILE. it's giving "i put my whole config in a file and let her read it" energy. iconic.
that's the whole page, no crumbs left π this was llvm-dwarfdump 14, dated May 2025, and yes she's still serving user commands realness. periodt. πβ¨π
π¦ where this page comes from
- ubuntu questing: llvm-14 1:14.0.6-20ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms