DH_DWZ(1) | Debhelper | DH_DWZ(1) |
dh_dwz - optimize DWARF debug information in ELF binaries via dwz
dh_dwz [debhelper options] [-Xitem] [-- params]
dh_dwz is a debhelper program that will optimize the (uncompressed) size of the DWARF debug information in ELF binaries. It does so by running dwz(1) on all the ELF binaries in the package.
Note this options may not work if a package contains more ELF binaries than can fit on a single command line. If this becomes a problem, please pass --no-dwz-multifile to work around the issue.
The generated multifile will be compressed with objcopy --compress-debug-sections.
If the DEB_BUILD_OPTIONS environment variable contains nostrip, nothing will be stripped, in accordance with Debian policy (section 10.1 "Binaries").
While this tool technically does not remove debug information from binaries, it is still skipped when the DEB_BUILD_OPTIONS environment variable contains nostrip. This is because nostrip is often used to optimize build times (e.g. for "build and test"-cycles) rather than optimizing for size.
This program is a part of debhelper.
Niels Thykier <niels@thykier.net>
2019-02-23 | 12.1.1 |