go/src/debug
Ian Lance Taylor 48a1dcb927 debug/elf: support zstd compression
Test cases added to debug/dwarf because that is where it matters in practice.

The new test binary line-gcc-zstd.elf built with

    gcc -g -no-pie -Wl,--compress-debug-sections=zstd line[12].c

using

    gcc (Debian 12.2.0-10) 12.2.0

with a development version of the GNU binutils.

Fixes #55107

Change-Id: I48507c96902e1f83a174e5647b5cc403d965b52b
Reviewed-on: https://go-review.googlesource.com/c/go/+/473256
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2023-04-18 20:34:36 +00:00
..
buildinfo debug/buildinfo: recognize macOS fat binary in go version 2023-03-08 15:57:58 +00:00
dwarf debug/elf: support zstd compression 2023-04-18 20:34:36 +00:00
elf debug/elf: support zstd compression 2023-04-18 20:34:36 +00:00
gosym debug/gosym: rename nameoff to nameOff to match runtime 2022-09-07 16:39:44 +00:00
macho all: re-run stringer 2023-04-11 20:24:07 +00:00
pe all: fix misuses of "a" vs "an" 2023-04-04 14:20:53 +00:00
plan9obj all: fix function names in comments 2022-11-04 22:36:12 +00:00