Go compatibility: implement compressed debug info
stapelberg opened this issue · comments
Michael Stapelberg commented
Go, since version 1.11 (released 2018), compresses debug information by default.
This makes some bloaty features not work by default, e.g. breaking down size by compilation unit.
As a workaround, you can disable debug information compression in Go by using the -ldflags=-compressdwarf=false
flag when running go install
.
Ideally, though, bloaty would implement support for reading compressed debug info and work with Go binaries out of the box :)
related: #42