OS Manuals

/usr/lib/llvm-21/bin/llvm-dwarfutil

Low-level virtual machine 21 - core frameworks

From llvm-21 21.1.8-r17 (os), captured 2026-11-05 by running llvm-dwarfutil --help (exit 0). permalink

OVERVIEW: llvm-dwarfutil is a tool to copy and manipulate debug info

USAGE: /usr/lib/llvm-21/bin/llvm-dwarfutil [options] <input file> <output file>

OPTIONS:
  --build-accelerator [none,DWARF]
                          Build accelerator tables(default: none)
                              =none - Do not build accelerators
                              =DWARF - .debug_names are generated for all DWARF versions

  --garbage-collection    Do garbage collection for debug info(default)
  --help                  Prints this help output
  -h                      Alias for --help
  -j <value>              Alias for --num-threads
  --linker <DWARF linker type>
                          Specify the desired type of DWARF linker. Defaults to 'classic'
  --no-garbage-collection Don`t do garbage collection for debug info
  --no-odr-deduplication  Don`t do ODR deduplication for debug types
  --no-odr                Alias for --no-odr-deduplication
  --no-separate-debug-file
                          Create single output file, containing debug tables(default)
  --num-threads <threads> Number of available threads for multi-threaded execution. Defaults to the number of cores on the current machine
  --odr-deduplication     Do ODR deduplication for debug types(default)
  --odr                   Alias for --odr-deduplication
  --separate-debug-file   Create two output files: file w/o debug tables and file with debug tables
  --tombstone [bfd,maxpc,exec,universal]
                          Tombstone value used as a marker of invalid address(default: universal)
                              =bfd - Zero for all addresses and [1,1] for DWARF v4 (or less) address ranges and exec
                              =maxpc - Minus 1 for all addresses and minus 2 for DWARF v4 (or less) address ranges
                              =exec - Match with address ranges of executable sections
                              =universal - Both: bfd and maxpc
  --verbose               Enable verbose logging
  --verify                Run the DWARF verifier on the resulting debug info
  --version               Print the version and exit
  -V                      Alias for --version
Options (16)
OptionDescriptionSource
--build-accelerator noneBuild accelerator tables(default: none) =none - Do not build accelerators =DWARF - .debug_names are generated for all DWARF versionshelp
--garbage-collectionDo garbage collection for debug info(default)help
--helpPrints this help outputhelp
-hAlias for --helphelp
-j valueAlias for --num-threadshelp
--no-odr-deduplicationDon`t do ODR deduplication for debug typeshelp
--no-odrAlias for --no-odr-deduplicationhelp
--no-separate-debug-fileCreate single output file, containing debug tables(default)help
--odr-deduplicationDo ODR deduplication for debug types(default)help
--odrAlias for --odr-deduplicationhelp
--separate-debug-fileCreate two output files: file w/o debug tables and file with debug tableshelp
--tombstone bfdTombstone value used as a marker of invalid address(default: universal) =bfd - Zero for all addresses and [1,1] for DWARF v4 (or less) address ranges and exec =maxpc - Minus 1 for all addresses and…help
--verboseEnable verbose logginghelp
--verifyRun the DWARF verifier on the resulting debug infohelp
--versionPrint the version and exithelp
-VAlias for --versionhelp

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