]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: simplify field tracking support
authorCherry Zhang <cherryyz@google.com>
Thu, 14 May 2020 17:15:53 +0000 (13:15 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 14 May 2020 17:36:27 +0000 (17:36 +0000)
commit9963add628eb48edb5fbaafef156ebb899ce32bf
tree7375a272d89a7daf814a817d204521140742a8fc
parentce36e7f79ee4abde0e3c2be4bd3cb069469c3bd5
[dev.link] cmd/link: simplify field tracking support

Currently, for the special field tracking symbol go.track.XXX,
when they are reachable, we set its type to SCONST. There is no
need to do that. Just leave it unset (as Sxxx). The symbol is
done after this point.

Change-Id: I966d80775008f7fb5d30fbc6b9e4a30ae8316b6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/233998
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/go.go