Bug 24822 - [dwz] Add --compress-debug-sections
Summary: [dwz] Add --compress-debug-sections
Status: NEW
Alias: None
Product: dwz
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-18 09:27 UTC by Tom de Vries
Modified: 2020-09-13 15:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2019-07-18 09:27:14 UTC
We can already do:
...
$ dwz -m 3 1 2
$ for f in 1 2 3; do objcopy --compress-debug-sections $f; done
...

If we add a --compress-debug-sections switch to dwz, we'd get the same result, but skip the file I/O of:
- dwz writing the files out in uncompressed form, and
- objcopy reading them back in