• Heschi Kreinick's avatar
    debug/elf,macho,pe: support compressed DWARF · 2036f162
    Heschi Kreinick authored
    Since we're going to start compressing DWARF on Windows and maybe
    Darwin, copy the ELF support for .zdebug sections to macho and pe. The
    code is almost completely the same across the three.
    
    While I was here I added support for compressed .debug_type sections,
    which I presume were overlooked before.
    
    Tests will come in a later CL once we can actually generate compressed
    PE/Mach-O binaries, since there's no other good way to get test data.
    
    Updates #25927, #11799
    
    Change-Id: Ie920b6a16e9270bc3df214ce601a263837810376
    Reviewed-on: https://go-review.googlesource.com/119815
    Run-TryBot: Heschi Kreinick <heschi@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    2036f162
Name
Last commit
Last update
..
dwarf Loading commit data...
elf Loading commit data...
gosym Loading commit data...
macho Loading commit data...
pe Loading commit data...
plan9obj Loading commit data...