go/src/debug
Alessandro Arzilli 9e13a8876f debug/dwarf: better error message when reading absent debug_line_str
When a DW_FORM_line_strp is used without a debug_line_str section a
good error message (about the missing section) is generated but
immediately overwritten by the underflow error generated by trying to
read the non-existent section.

Updates #49590

Change-Id: I1c431392123a86c78c95ef1f185ebd6f17f2476a
Reviewed-on: https://go-review.googlesource.com/c/go/+/363894
Run-TryBot: Alessandro Arzilli <alessandro.arzilli@gmail.com>
Trust: David Chase <drchase@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2021-11-15 23:55:09 +00:00
..
buildinfo debug/buildinfo: fix test for build settings 2021-10-14 23:32:09 +00:00
dwarf debug/dwarf: better error message when reading absent debug_line_str 2021-11-15 23:55:09 +00:00
elf cmd/link: enable internal linking of PIE binaries on ppc64le 2021-11-05 19:14:22 +00:00
gosym debug/gosym: bulk allocate Syms 2021-11-02 18:24:18 +00:00
macho debug/macho: fail on invalid dynamic symbol table command 2021-10-28 15:55:26 +00:00
pe all: remove more leftover // +build lines 2021-11-06 10:24:44 +00:00
plan9obj debug/plan9obj: export ErrNoSymbols 2021-11-05 21:27:19 +00:00