LLVM-DWARFDUMP(1)
π LLVM-DWARFDUMP(1) π
okay so bestie, welcome to llvm-dwarfdump from the User Commands manual β yes, the LLVM-DWARFDUMP(1) one, and it's giving debug-info main character energy π
β¨
πΈ NAME πΈ
llvm-dwarfdump β manual page for llvm-dwarfdump 18 π«Ά
π¦ DESCRIPTION π¦
β¨ OVERVIEW β¨
OVERVIEW: pretty-print DWARF debug information in object files and debug info archives. No cap, that's the whole vibe π
π USAGE π
USAGE: llvm-dwarfdump [options] <input object files or .dSYM bundles>
π OPTIONS π
π Color Options π
--colorβ use colors in output (default=autodetect) π¨
β Generic Options β
--helpβ display available options (--help-hiddenfor more) πββοΈ--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 are dumped. Where applicable, these parameters take an optional =<offset> argument to dump only the entry at the specified offset π―
-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 ποΈ-cβ alias for--show-childrenπΆ--diffβ emit diff-friendly output by omitting offsets and addresses πͺ--dwoβ dump the non skeleton DIE in the.dwoor.dwpfile after dumping the skeleton DIE from the main executable. This allows dumping the.dwofiles with resolved 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 π΅οΈββοΈ--find-all-appleβ print every debug information entry in the accelerator tables π-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 ofNwhen displaying parents of debug info entries π--quietβ use with-verifyto not emit toSTDOUTπ€«-rβ alias for--recurse-depthπ--recurse-depth=<N>β only recurse to a depth ofNwhen 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 π--show-sourcesβ show the sources across all compilation units π--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 π
xoxo, this iconic page is from llvm-dwarfdump 18, dated June 2025, and it lives under LLVM-DWARFDUMP(1) π
π«Άβ¨
π¦ where this page comes from
- debian trixie: llvm-18 1:18.1.8-18+b1 Β· APACHE-2-LLVM-EXCEPTIONS
- ubuntu questing: llvm-18 1:18.1.8-18ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms