DSYMUTIL(1)
π DSYMUTIL(1) π
okay bestie, pull up a chair, because we're about to talk about dsymutil β that's the LLVM tool that manipulates archived DWARF debug symbol files. yes. that's the whole vibe. it's giving "quiet little utility that carries your entire debugging experience on its back" and honestly? we're obsessed. β¨
πΈ NAME πΈ
dsymutil β manipulate archived DWARF debug symbol files π¦
β¨ SYNOPSIS β¨
dsymutil [options] executable
π DESCRIPTION π
So here's the tea, bestie. dsymutil links the DWARF debug information that lives inside the object files for an executable, and it does this by using the debug symbols info chillin' in that executable's symbol table. Like, it's literally matchmaking object files with their debug data. π«Ά
By default β no cap β the linked debug information gets dropped into a .dSYM bundle with the exact same name as the executable. That's just the default. It's the moment. π
π OPTIONS π
--accelerator=<accelerator type>β Pick which type of accelerator table you want. The valid options areApple,DwarfandDefault. That's it, that's the list, don't get creative. β--arch <arch>β Only link DWARF debug info for the CPU architecture types you name here. Architectures can be specified by name. Heads up though: when you use this option, if any architectures can't be properly linked, you get an error back. You can pass this option multiple times β once per desired architecture. By default all CPU architectures get linked, and any that can't be properly linked will makedsymutilreturn an error. π--dump-debug-mapβ Dumps the executable's debug-map (that's the list of object files holding the debug info) in YAML format and then dips out. No DWARF link happens at all. just a lil peek. π--flat,-fβ Produce a flat dSYM file. A.dwarfextension gets appended to the executable name unless you specify the output file with the-ooption. flat. no bundle. streamlined. π--gen-reproducerβ Generate a reproducer made up of the input object files. for when you need receipts. π§--help,-hβ Print this help output. the classic. the icon. π--keep-function-for-staticβ Makes a static variable keep the enclosing function, even if that function would've been omitted otherwise. protective energy fr fr. π«Ά--minimize,-zβ When you use this while creating a dSYM file, it suppresses the emission of the.debug_inlines,.debug_pubnames, and.debug_pubtypessections, sincedsymutilcurrently has better equivalents:.apple_namesand.apple_types. And when you use it together with the--updateoption, it'll cause redundant accelerator tables to be removed. spring cleaning, but for your debug sections. β¨--no-odrβ Do not use ODR (One Definition Rule) for uniquing C++ types. simple as that. πΈ--no-outputβ Do the link in memory, but do not emit the result file. all the work, none of the output. it's giving ghosting (affectionate). π»--no-swiftmodule-timestampβ Don't check the timestamp for swiftmodule files. timestamps? not today. π--num-threads <threads>,-j <threads>β Specifies the maximum number (n) of simultaneous threads to use when linking multiple architectures. parallelize, bestie. π₯--object-prefix-map <prefix=remapped>β Remap object file paths (but no source paths) before processing. Use this for Clang objects where the module cache location was remapped using-fdebug-prefix-map; it helpsdsymutilfind the Clang module cache. iykyk. π¦--oso-prepend-path <path>β Specifies a path to prepend to all debug symbol object file paths. π--out <filename>,-o <filename>β Specifies an alternate path to place the dSYM bundle. The default dSYM bundle path is created by appending.dSYMto the executable name. π--papertrailβ When you're runningdsymutilas part of your build system, it can be desirable for warnings to be part of the end product instead of just being emitted to the output stream. When enabled, warnings are embedded in the linked DWARF debug information. leaving a lil trail. iconic behavior. β--remarks-output-format <format>β Specify the format to be used when serializing the linked remarks. π--remarks-prepend-path <path>β Specify a directory to prepend the paths of the external remark files. π--statisticsβ Print statistics about the contribution of each object file to the linked debug info. This prints a table after linking with the object file name, the size of the debug info in the object file (in bytes) and the size contributed (in bytes) to the linked dSYM. The table is sorted by the output size, listing the object files with the largest contribution first. leaderboard energy. π--symbol-map <bcsymbolmap>β Update the existing dSYMs inplace using the symbol map specified. inplace. no copies. π-s,--symtabβ Dumps the symbol table found in executable or object file(s) and exits. π¦-Sβ Output textual assembly instead of a binary dSYM companion file. going full text mode. β¨--toolchain <toolchain>β Embed the toolchain in the dSYM bundle's property list. πΈ-u,--updateβ Update an existing dSYM file to contain the latest accelerator tables and other DWARF optimizations. This option will rebuild the.apple_namesand.apple_typeshashed accelerator tables. glow-up for your dSYM. π--use-reproducer <path>β Use the object files from the given reproducer path. π§--verboseβ Display verbose information when linking. tell me everything, bestie. π--verifyβ Run the DWARF verifier on the linked DWARF debug info. vibe check on your debug info. β-v,--versionβ Display the version of the tool. π-yβ Treat executable as a YAML debug-map rather than an executable. plot twist. π
π«Ά EXIT STATUS π«Ά
dsymutil returns 0 if the DWARF debug information was linked successfully. Otherwise, it returns 1. That's the whole scoring system. no cap. π
π SEE ALSO π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). we love a maintainer who shows up. π«Ά
π COPYRIGHT π
2003-2025, LLVM Project
ok and that's the whole page bestie!! this one's from LLVM, page14of the manual, dated2025-05-22β so if you're reading this on some random Tuesday, just know that this page has been out here slaying since May 22, 2025.DSYMUTIL(1)forever. 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