Bug 245382 - New port: devel/dwz DWARF optimization and duplicate removal tool
Summary: New port: devel/dwz DWARF optimization and duplicate removal tool
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2020-04-05 19:37 UTC by Brian Callahan
Modified: 2020-04-05 19:42 UTC (History)
0 users

See Also:

dwz port shar (47.08 KB, text/plain)
2020-04-05 19:37 UTC, Brian Callahan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Callahan 2020-04-05 19:37:40 UTC
Created attachment 213104 [details]
dwz port shar

Included here is a shar for a new port, devel/dwz. 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.

This is a port of the OpenBSD port of dwz.

Let me know if there's anything else I need to do.