Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gocore: extract type name of method value from its wrapper f…
…unction name It's a single-entry closure laid out like `{pc uintptr, x T}`, and the target pc is for wrapper functions named like pkg.T.m-fm or pkg.(*T).m-fm. So, extract the type name pkg.T or *pkg.T from its wrapper function name. Change-Id: I2b5a2db60ee4d875cd0b9ffb3c4f21a69eef0459 GitHub-Last-Rev: 06c4faf GitHub-Pull-Request: #13 Reviewed-on: https://go-review.googlesource.com/c/debug/+/419179 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
- Loading branch information