]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: clean up some pclntab state
authorJeremy Faller <jeremy@golang.org>
Thu, 13 Aug 2020 16:21:18 +0000 (12:21 -0400)
committerJeremy Faller <jeremy@golang.org>
Tue, 18 Aug 2020 14:04:59 +0000 (14:04 +0000)
commitac5c406ef0ab20e2a11f57470271266ef4265221
tree98db2e90e495479b525dd5359c526fb2dfb61a2f
parent26407b22129e2e54db269c1a92826521addd8d56
[dev.link] cmd/link: clean up some pclntab state

Clean up some pclntab state, specifically:
1) Remove the oldPclnState type.
2) Move a structure out of pclnState, that was holding some memory.
3) Stop passing container around everywhere and calling emitPcln. Use a
   slice of function symbols instead.

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