NAME | SYNOPSIS | DESCRIPTION | OPTIONS | NOTES | SEE ALSO | AUTHOR | COLOPHON

DH_DWZ(1)                         Debhelper                        DH_DWZ(1)

NAME         top

       dh_dwz - optimize DWARF debug information in ELF binaries via dwz

SYNOPSIS         top

       dh_dwz [debhelper options] [-Xitem] [-- params]

DESCRIPTION         top

       Caveat: This tool is experimental and may disappear or change
       behaviour without any notice.

       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.

OPTIONS         top

       -Xitem, --exclude=item
           Exclude files that contain item anywhere in their filename from
           being stripped. You may use this option multiple times to build
           up a list of things to exclude.

       -- params
           Pass params to dwz(1) when it processes ELF binaries.  This is
           mostly useful for setting memory related parameters (e.g. -l and
           -L).

NOTES         top

       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.

SEE ALSO         top

       debhelper(7)

       This program is a part of debhelper.

AUTHOR         top

       Niels Thykier <niels@thykier.net>

COLOPHON         top

       This page is part of the debhelper (helper programs for debian/rules)
       project.  Information about the project can be found at 
       ⟨https://anonscm.debian.org/cgit/debhelper/debhelper.git/⟩.  If you
       have a bug report for this manual page, send it to
       submit@bugs.debian.org.  This page was obtained from the project's
       upstream Git repository
       ⟨https://anonscm.debian.org/cgit/debhelper/debhelper.git/⟩ on
       2017-11-25.  (At that time, the date of the most recent commit that
       was found in the repository was 2017-11-19.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

10.10.9                          2017-11-23                        DH_DWZ(1)