GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LLVM-DWARFUTIL(1) LLVM LLVM-DWARFUTIL(1)

llvm-dwarfutil - A tool to copy and manipulate debug info

llvm-dwarfutil [options] input output

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

In basic usage, it makes a semantic copy of the input to the output. If any options are specified, the output may be modified along the way, e.g. by removing unused debug info.

If "-" is specified for the input file, the input is read from the program's standard input stream. If "-" is specified for the output file, the output is written to the standard output stream of the program.

The tool is still in active development.

Removes pieces of debug information related to discarded sections. When the linker does section garbage collection the abandoned debug info is left behind. Such abandoned debug info references address ranges using tombstone values. Thus, when this option is specified, the tool removes debug info which is marked with the tombstone value.

That option is enabled by default.


Remove duplicated types (if "One Definition Rule" is supported by source language). Keeps first type definition and removes other definitions, potentially significantly reducing the size of output debug info.

That option is enabled by default.


Print a summary of command line options.

Disable --garbage-collection.

Disable --odr-deduplication.

Disable --separate-debug-file.

Specifies the maximum number (n) of simultaneous threads to use for processing.

Generate separate file containing output debug info. Using llvm-dwarfutil with that option equals to the following set of commands:

:program:`llvm-objcopy` --only-keep-debug in-file out-file.debug
:program:`llvm-objcopy` --strip-debug in-file out-file
:program:`llvm-objcopy` --add-gnu-debuglink=out-file.debug out-file


<value> can be one of the following values:
  • bfd: zero for all addresses and [1,1] for DWARF v4 (or less) address ranges and exec.
  • maxpc: -1 for all addresses and -2 for DWARF v4 (or less) address ranges.
  • universal: both bfd and maxpc.
  • exec: match with address ranges of executable sections.

The value universal is used by default.




Enable verbose logging. This option disables multi-thread mode.

Run the DWARF verifier on the output DWARF debug info.

Print the version of this program.

The following formats are currently supported by llvm-dwarfutil:

ELF

llvm-dwarfutil exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0.

To report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-dwarfutil/>.

Maintained by the LLVM Team (https://llvm.org/).

2003-2025, LLVM Project

2025-07-04 15

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.