OS Manuals

/usr/lib/llvm15/bin/dsymutil

low-level virtual machine - core frameworks

From llvm15 15.0.7-r9 (os), captured 2026-11-05 by running dsymutil --help (exit 0). permalink

OVERVIEW: manipulate archived DWARF debug symbol files.

dsymutil links the DWARF debug information found in the object files
for the executable <input file> by using debug symbols information
contained in its symbol table.


USAGE: /usr/lib/llvm15/bin/dsymutil [options] <input files>

Dsymutil Options:
  --accelerator <accelerator type>
                          Specify the desired type of accelerator table. Valid options are 'Apple' (.apple_names, .apple_namespaces, .apple_types, .apple_objc), 'Dwarf' (.debug_names), 'Pub' (.debug_pubnames, .debug_pubtypes), 'Default' and 'None'
  --arch <arch>           Link DWARF debug information only for specified CPU architecturetypes. This option can be specified multiple times, once for eachdesired architecture. All CPU architectures will be linked bydefault.
  --dump-debug-map        Parse and dump the debug map to standard output. No DWARF link will take place.
  --flat                  Produce a flat dSYM file (not a bundle).
  -f                      Alias for --flat
  --gen-reproducer        Generate a reproducer consisting of the input object files. Alias for --reproducer=GenerateOnExit.
  --help                  Prints this help output.
  -h                      Alias for --help
  -j <threads>            Alias for --num-threads
  --keep-function-for-static
                          Make a static variable keep the enclosing function even if it would have been omitted otherwise.
  --no-odr                Do not use ODR (One Definition Rule) for type uniquing.
  --no-output             Do the link in memory, but do not emit the result file.
  --no-swiftmodule-timestamp
                          Don't check timestamp for swiftmodule files.
  --num-threads <threads> Specifies the maximum number of simultaneous threads to use when linking multiple architectures.
  --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 wasremapped using -fdebug-prefix-map; to help dsymutilfind the Clang module cache.
  --oso-prepend-path <path>
                          Specify a directory to prepend to the paths of object files.
  --out <filename>        Alias for -o
  -o <filename>           Specify the output file. Defaults to <input file>.dwarf
  --papertrail            Embed warnings in the linked DWARF debug info.
  --remarks-output-format <format>
                          Specify the format to be used when serializing the linked remarks.
  --remarks-prepend-path <path>
                          Specify a directory to prepend to the paths of the external remark files.
  --reproducer <mode>     Specify the reproducer generation mode. Valid options are 'GenerateOnExit', 'GenerateOnCrash', 'Use', 'Off'.
  --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.
  --symbol-map <bcsymbolmap>
                          Updates the existing dSYMs inplace using symbol map specified.
  --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.
  -s                      Alias for --symtab
  --toolchain <toolchain> Embed toolchain information in dSYM bundle.
  --update                Updates existing dSYM files to contain the latest accelerator tables and other DWARF optimizations.
  --use-reproducer <path> Use the object files from the given reproducer path. Alias for --reproducer=Use.
  -u                      Alias for --update
  --verbose               Enable verbose mode.
  --verify-dwarf <verification mode>
                          Run the DWARF verifier on the input and/or output. Valid options are 'input', 'output', 'all' or 'none'.
  --verify                Alias for --verify-dwarf=output
  --version               Prints the dsymutil version.
  -v                      Alias for --version
  -y                      Treat the input file is a YAML debug map rather than a binary.
Options (32)
OptionDescriptionSource
--arch archLink DWARF debug information only for specified CPU architecturetypes.help
--dump-debug-mapParse and dump the debug map to standard output.help
--flatProduce a flat dSYM file (not a bundle).help
-fAlias for --flathelp
--gen-reproducerGenerate a reproducer consisting of the input object files.help
--helpPrints this help output.help
-hAlias for --helphelp
-j threadsAlias for --num-threadshelp
--keep-function-for-staticMake a static variable keep the enclosing function even if it would have been omitted otherwise.help
--no-odrDo not use ODR (One Definition Rule) for type uniquing.help
--no-outputDo the link in memory, but do not emit the result file.help
--no-swiftmodule-timestampDon't check timestamp for swiftmodule files.help
--object-prefix-map prefix=remappedRemap object file paths (but no source paths) before processing.Use this for Clang objects where the module cache location wasremapped using -fdebug-prefix-map;help
--oso-prepend-path pathSpecify a directory to prepend to the paths of object files.help
--out filenameAlias for -ohelp
-o filenameSpecify the output file.help
--papertrailEmbed warnings in the linked DWARF debug info.help
--remarks-output-format formatSpecify the format to be used when serializing the linked remarks.help
--remarks-prepend-path pathSpecify a directory to prepend to the paths of the external remark files.help
--reproducer modeSpecify the reproducer generation mode.help
--statisticsPrint statistics about the contribution of each object file to the linked debug info.help
--symbol-map bcsymbolmapUpdates the existing dSYMs inplace using symbol map specified.help
--symtabDumps the symbol table found in executable or object file(s) and exits.help
-SOutput textual assembly instead of a binary dSYM companion file.help
-sAlias for --symtabhelp
--updateUpdates existing dSYM files to contain the latest accelerator tables and other DWARF optimizations.help
-uAlias for --updatehelp
--verboseEnable verbose mode.help
--verifyAlias for --verify-dwarf=outputhelp
--versionPrints the dsymutil version.help
-vAlias for --versionhelp
-yTreat the input file is a YAML debug map rather than a binary.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.