]> Cypherpunks repositories - gostls13.git/commit
cmd/link: writelines should keep is_stmt in sync with what it's writing
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Sun, 13 May 2018 13:17:40 +0000 (15:17 +0200)
committerDavid Chase <drchase@google.com>
Sun, 13 May 2018 20:09:56 +0000 (20:09 +0000)
commit3636d53c6119fd1b8a5f9e309fdf65c79952d398
tree718076a8602a7f83f044a51dbd6ffad195373ef0
parent6495bf17105fbf5c76a719bdea3f383eea8b28db
cmd/link: writelines should keep is_stmt in sync with what it's writing

For all functions but the last one if the function ends on a
non-statement instruction the statement flag in debug_line is changed
but is_stmt is not updated to match.

Change-Id: I03c275c5e261ea672ce4da7baca2458810708326
Reviewed-on: https://go-review.googlesource.com/112979
Reviewed-by: David Chase <drchase@google.com>
src/cmd/link/internal/ld/dwarf.go