• Heschi Kreinick's avatar
    cmd/compile: bug fixes for DWARF location lists · 38bd725b
    Heschi Kreinick authored
    Fix two small but serious bugs in the DWARF location list code that
    should have been caught by the automated tests I didn't write.
    
    After emitting debug information for a user variable, mark it as done
    so that it doesn't get emitted again. Otherwise it would be written once
    per slot it was decomposed into.
    
    Correct a merge error in CL 44350: the location list abbreviations need
    to have DW_AT_decl_line too, otherwise the resulting DWARF is gibberish.
    
    Change-Id: I6ab4b8b32b7870981dac80eadf0ebfc4015ccb01
    Reviewed-on: https://go-review.googlesource.com/59070
    Run-TryBot: Heschi Kreinick <heschi@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    38bd725b
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...