]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: do not emit an extra debug_line entry for the end of seq addr
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Tue, 10 Nov 2020 16:02:27 +0000 (17:02 +0100)
committerThan McIntosh <thanm@google.com>
Thu, 12 Nov 2020 13:47:13 +0000 (13:47 +0000)
commit9ef65ff137c17bb7975859017abae4e27600c684
treea044982031b933fab0a09ebb53789ed57d5cb83a
parent4bc5f6f45f6e887f74b22dfdfffd6df2a2f97094
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.

Fixes #42484

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>
src/cmd/internal/obj/dwarf.go