DSYMUTIL(1)
πΈ NAME πΈ
okay so bestie, welcome to dsymutil(1) β the LLVM manual page for manipulate archived DWARF debug symbol files. Itβs the little linking icon that pulls your DWARF debug info together into a .dSYM bundle. π
β¨ SYNOPSIS β¨
dsymutil [options] executable
π¦ DESCRIPTION π¦
Hereβs the vibe: dsymutil links the DWARF debug information found in the object files for an executable (executable) by using debug symbols information contained in its symbol table. By default, the linked debug information is placed in a .dSYM bundle with the same name as the executable. Thatβs the main-character job, no cap. π¦
π OPTIONS π
--accelerator=<accelerator type>β Pick the desired type of accelerator table. Valid options are'Apple','Dwarf','Default'and'None'. Slay.--arch <arch>β Link DWARF debug information only for the specified CPU architecture types. Architectures may be specified by name. When using this option, an error will be returned if any architectures can not be properly linked. This option can be specified multiple times, once for each desired architecture. All CPU architectures will be linked by default, and any architectures that can't be properly linked will causedsymutilto return an error. So if youβre picking faves, pick carefully, bestie.--dump-debug-mapβ Dump the executable's debug-map (the list of the object files containing the debug information) in YAML format and exit. No DWARF link will take place. Just a lil peek, then bye.--flat,-fβ Produce a flat dSYM file. A.dwarfextension will be appended to the executable name unless the output file is specified using the-ooption.--gen-reproducerβ Generate a reproducer consisting of the input object files. Alias for--reproducer=GenerateOnExit. π--help,-hβ Print this help output. We love a helpful icon.--keep-function-for-staticβ Make a static variable keep the enclosing function even if it would have been omitted otherwise.--minimize,-zβ When used when creating a dSYM file, this option will suppress the emission of the.debug_inlines,.debug_pubnames, and.debug_pubtypessections sincedsymutilcurrently has better equivalents:.apple_namesand.apple_types. When used in conjunction with--updateoption, this option will cause redundant accelerator tables to be removed. Decluttering queen behavior.--no-odrβ Do not use ODR (One Definition Rule) for uniquing C++ types.--no-outputβ Do the link in memory, but do not emit the result file. All vibes, no files.--no-swiftmodule-timestampβ Don't check the timestamp for swiftmodule files.--num-threads <threads>,-j <threads>β Specifies the maximum number (n) of simultaneous threads to use when linking multiple architectures. More threads, more sparkle β but capped atn.--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; to helpdsymutilfind the Clang module cache. π§--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. Custom destination unlocked.--papertrailβ When runningdsymutilas part of your build system, it can be desirable for warnings to be part of the end product, rather than just being emitted to the output stream. When enabled warnings are embedded in the linked DWARF debug information. Warnings, but make them permanent.--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.--reproducer <mode>β Specify the reproducer generation mode. Valid options are'GenerateOnExit','GenerateOnCrash','Use','Off'. Choose your reproducer adventure.--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. Receipts, sorted by biggest flex.--symbol-map <bcsymbolmap>β Update the existing dSYMs inplace using symbol map specified.-s,--symtabβ Dumps the symbol table found inexecutableor object file(s) and exits.-Sβ Output textual assembly instead of a binary dSYM companion file.--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. Alias for--reproducer=Use.--verboseβ Display verbose information when linking. Tell me everything, icon.--verifyβ Run the DWARF verifier on the linked DWARF debug info.-v,--versionβ Display the version of the tool.-yβ Treatexecutableas a YAML debug-map rather than an executable. π«Ά
π EXIT STATUS π
dsymutil returns 0 if the DWARF debug information was linked successfully. Otherwise, it returns 1. Simple mood: slayed or not slayed.
π SEE ALSO π
llvm-dwarfdump(1)β your next stop if you wanna snoop the DWARF.
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). Periodt.
β COPYRIGHT β
2003-2023, LLVM Project
thatβs the whole page, bestie β this one comes from LLVM, version 15, dated 2023-01-14. mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms