go/src/debug
Josh Bleecher Snyder 78c2529d73 debug/gosym: add funcTab abstraction
This clarifies the existing code and makes modifications easier.

name            old time/op    new time/op    delta
115/LineToPC-8    58.6µs ± 3%    56.4µs ± 3%  -3.80%  (p=0.000 n=15+15)
115/PCToLine-8     194ns ± 2%     188ns ± 2%  -3.31%  (p=0.000 n=15+15)

Change-Id: Iafdf57af93d5e3c145965c32e0227e37c69ab017
Reviewed-on: https://go-review.googlesource.com/c/go/+/353880
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2021-10-04 22:59:44 +00:00
..
dwarf debug/dwarf: check for DWARFv4 AttrDataBitOffset value 2021-09-02 19:56:24 +00:00
elf debug/elf: retain original error message when getSymbols fails. 2021-09-10 17:13:40 +00:00
gosym debug/gosym: add funcTab abstraction 2021-10-04 22:59:44 +00:00
macho debug/macho: fix a typo in macho.go 2021-05-14 00:56:52 +00:00
pe all: do not test internal linking on windows/arm64 2021-04-23 21:48:37 +00:00
plan9obj debug/plan9obj: simplify s[:] to s where 2018-10-13 11:24:43 +00:00