]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: change some decodetype functions to operate on bytes
authorCherry Zhang <cherryyz@google.com>
Thu, 3 Oct 2019 22:25:21 +0000 (18:25 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 9 Oct 2019 21:05:54 +0000 (21:05 +0000)
commitc455e8878f67eeeb02537cc7b3c5fc18a22a2ed7
treef6f0aa6dec8070b6ce4954347b2f83f2a4cb212c
parent65a649c565d06c14ae8e3a5042c4dec7f70af612
[dev.link] cmd/link: change some decodetype functions to operate on bytes

Change some decodetype functions to operate on bytes nstead of
Symbol. This is in preparation of implementing live method
tracking in index-based deadcode pass, and reducing/eliminating
sym.Symbol in general.

Change-Id: Ia9809ad7b182884225e1bda577e8dbec0cd216c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/199077
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/deadcode.go
src/cmd/link/internal/ld/decodesym.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/symtab.go