mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: cross-reference _func type better
It takes me several minutes every time I want to find where the linker writes out the _func structures. Add some comments to make this easier. Change-Id: Ic75ce2786ca4b25726babe3c4fe9cd30c85c34e2 Reviewed-on: https://go-review.googlesource.com/34390 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
1716add3dc
commit
61db2e4efa
2 changed files with 4 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ const (
|
|||
|
||||
// Layout of in-memory per-function information prepared by linker
|
||||
// See https://golang.org/s/go12symtab.
|
||||
// Keep in sync with linker
|
||||
// Keep in sync with linker (../cmd/link/internal/ld/pcln.go:/pclntab)
|
||||
// and with package debug/gosym and with symtab.go in package runtime.
|
||||
type _func struct {
|
||||
entry uintptr // start pc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue