Description[release-branch.go1.3] cmd/ld: fix PC deltas in DWARF line number table
««« CL 104950045 / 87daa424d96a
cmd/ld: fix PC deltas in DWARF line number table
The putpclcdelta function set the DWARF line number PC to
s->value + pcline->pc, which is correct, but the code then set
the local variable pc to epc, which can be a different value.
This caused the next delta in the DWARF table to be wrong.
Fixes issue 8098.
LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/104950045
»»»
Patch Set 1 #Patch Set 2 : diff -r 96c74cf6dc10 https://code.google.com/p/go/ #Patch Set 3 : diff -r 2edde912fcd6 https://code.google.com/p/go/ #MessagesTotal messages: 5
|