DWZ: A DWARF optimization and duplicate removal tool

dwz is a program that attempts to optimize DWARF debugging information contained in ELF shared libraries and ELF executables for size, by replacing DWARF information representation with equivalent smaller representation where possible and by reducing the amount of duplication using techniques from DWARF standard appendix E - creating DW_TAG_partial_unit compilation units (CUs) for duplicated information and using DW_TAG_imported_unit to import it into each CU that needs it.

News

Availability

You can access the development source tree a couple of different ways.

Mailing list

There is a mailing list.

Bug database

DWZ has a bug database. Please submit a bug report if you've found a bug in DWZ.

Submitting a bug report

There is a gotcha when using the dwz command in multifile mode (on say, files a and b with multifile c):

dwz -m c a b

If an error occurs, dwz may already have modified files a and b, and it may be necessary to use the original files to reproduce the error. So please be sure to submit the original, rather than the modified files.

Releases