mirror of
https://github.com/golang/go
synced 2024-11-26 04:17:59 -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:
parent
a78b12aea7
commit
b165085836
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user