• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...