]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add new symbol for debug line numbers
authorJeremy Faller <jeremy@golang.org>
Tue, 30 Jul 2019 21:48:11 +0000 (17:48 -0400)
committerJeremy Faller <jeremy@golang.org>
Mon, 23 Sep 2019 19:40:07 +0000 (19:40 +0000)
commit376fc48338bfd05192ebb87cdbca8c0d74d23b6a
treed6be922ff146081c874de53a3fba0884d28a4523
parentf4ca3c1e0a2066ca4f7bd6203866d282ed34acf2
cmd/compile: add new symbol for debug line numbers

This is broken out from: CL 187117

This new symbol will be populated by the compiler and contain debug line
information that's currently generated in the linker. One might say it's
sad to create a new symbol, but this symbol will replace the isStmt
symbols.

Testing: Ran go build -toolexec 'toolstash -cmp'

Change-Id: If8f7ae4b43b7247076605b6429b7d03a1fd239c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/188238
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/internal/dwarf/dwarf.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/plist.go
src/cmd/internal/objabi/symkind.go
src/cmd/link/internal/sym/symkind.go
src/cmd/link/internal/sym/symkind_string.go