]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.15] cmd/compile: do not emit an extra debug_line entry for the...
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Thu, 12 Nov 2020 13:58:46 +0000 (14:58 +0100)
committerDmitri Shuralyov <dmitshur@golang.org>
Mon, 23 Nov 2020 19:42:26 +0000 (19:42 +0000)
commit16ddb8bc763c33fb172d0c1bcd04d070f36f9cc8
tree9f9e2f163f9b2d38be97b85b009f43fd1d23edd7
parent20f50bba49e6338793a5711dc1c6ed60e4b10df8
[release-branch.go1.15] cmd/compile: do not emit an extra debug_line entry for the end of seq addr

Uses DW_LNS_advance_pc directly, instead of calling putpclcdelta
because the latter will create a new debug_line entry for the end of
sequence address.

Updates #42484.
Fixes #42521.

Change-Id: Ib6355605cac101b9bf37a3b4961ab0cee678a839
Reviewed-on: https://go-review.googlesource.com/c/go/+/268937
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/269517
src/cmd/internal/obj/dwarf.go