This preallocation is way too large, and showed up in the metrics. Just
remove it all together.
Change-Id: Ib4646b63cd0a903656ada244f15e977cde2a2c4c
Reviewed-on: https://go-review.googlesource.com/c/go/+/247177
Run-TryBot: Jeremy Faller <jeremy@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
ldr := ctxt.loader
state := &pclntab{
- funcNameOffset: make(map[loader.Sym]int32, ldr.NSym()),
+ funcNameOffset: make(map[loader.Sym]int32),
}
// Gather some basic stats and info.