1
0
mirror of https://github.com/golang/go synced 2024-11-26 06:17:57 -07:00

cmd/link: remove an unused function from linker dwarf gen

Remove a no-longer-used function.

Change-Id: Iad383a9d158d31d4c8b65dd39b71849b44c6b52e
Reviewed-on: https://go-review.googlesource.com/c/go/+/306829
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
This commit is contained in:
Than McIntosh 2021-04-02 06:58:13 -04:00
parent a78b12aea7
commit b165085836

View File

@ -2290,12 +2290,6 @@ func getDwsectCUSize(sname string, pkgname string) uint64 {
return dwsectCUSize[sname+"."+pkgname]
}
func saveDwsectCUSize(sname string, pkgname string, size uint64) {
dwsectCUSizeMu.Lock()
defer dwsectCUSizeMu.Unlock()
dwsectCUSize[sname+"."+pkgname] = size
}
func addDwsectCUSize(sname string, pkgname string, size uint64) {
dwsectCUSizeMu.Lock()
defer dwsectCUSizeMu.Unlock()