Open
Description
I recently read a blog post by @MaskRay comparing different compression algorithms for DWARF: https://maskray.me/blog/2022-09-09-zstd-compressed-debug-sections
The blog post concludes that zstd is the best choice (as it is in many other scenarios), and the author has done some work on establishing ELFCOMPRESS_ZSTD
.
I don’t know if it’s too early, or if anything else is preventing us from doing so, but wanted to file this issue to track support for using zstd to make Go DWARF sections smaller and faster to write and read.
There is a good native Go implementation of zstd available: https://pkg.go.dev/github.com/klauspost/compress/zstd
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress