• Than McIntosh's avatar
    debug/dwarf: better handling for DW_FORM_indirect · 9da7abd2
    Than McIntosh authored
    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: default avatarDavid Chase <drchase@google.com>
    9da7abd2
entry.go 24.8 KB