1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:14:43 -07:00
go/src/debug
Than McIntosh 9da7abd2eb debug/dwarf: better handling for DW_FORM_indirect
Fix a buglet in abbrev processing related to DW_FORM_indirect. When
reading an abbrev entry if we encounter an attribute with form
DW_FORM_indirect, leave the class as ClassUnknown, then when the
abbrev is walked during the reading of the DIE fill in the class based
on the value read at that point (code for handling DW_FORM_indirect
seems to be already partially in place in the DIE reader).

Updates #33488.

Change-Id: I9dc89abf5cc8d7ea96824c0011bef979de0540bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/190158
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2019-09-03 18:35:32 +00:00
..
dwarf debug/dwarf: better handling for DW_FORM_indirect 2019-09-03 18:35:32 +00:00
elf debug/dwarf, debug/elf: support DWARF 5 2019-09-03 17:37:24 +00:00
gosym all: shorten some tests 2019-05-22 12:54:00 +00:00
macho cmd/link: fix stale link to MachO file format reference in comment 2019-06-19 16:38:34 +00:00
pe debug/pe: enable parsing of variable length optional header in PE file 2019-08-29 08:57:06 +00:00
plan9obj debug/plan9obj: simplify s[:] to s where 2018-10-13 11:24:43 +00:00