go/src/debug/dwarf
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
..
testdata debug/elf: support zstd compression 2023-04-18 20:34:36 +00:00
attr_string.go
buf.go debug/dwarf: better error detection in parseUnits 2022-03-21 17:14:08 +00:00
class_string.go all: re-run stringer 2023-04-11 20:24:07 +00:00
const.go all: remove duplicate words 2021-03-13 11:56:59 +00:00
dwarf5ranges_test.go debug/dwarf: don't try to parse addr/rnglists header 2020-12-14 18:06:06 +00:00
entry.go debug/dwarf: return ErrUnknownPC rather than nil on unknown PC 2023-03-18 06:31:16 +00:00
entry_test.go debug/elf: support zstd compression 2023-04-18 20:34:36 +00:00
export_test.go
line.go debug/dwarf: handle malformed line table with bad program offset 2022-06-23 19:05:29 +00:00
line_test.go debug/elf: support zstd compression 2023-04-18 20:34:36 +00:00
open.go debug: add top level security docs for dwarf, elf, macho, pe, and plan9obj 2022-10-13 18:21:54 +00:00
tag_string.go
type.go all: gofmt main repo 2022-05-19 15:49:05 +00:00
type_test.go all: gofmt main repo 2022-05-19 15:49:05 +00:00
typeunit.go
unit.go debug/dwarf: better error detection in parseUnits 2022-03-21 17:14:08 +00:00