aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-12-14 13:24:21 -0500
committerAustin Clements <austin@google.com>2016-12-16 17:03:25 +0000
commit61db2e4efa2a8f558fd3557958d1c86dbbe7d3cc (patch)
tree06b8dbafd52b7b09aed13b46516d45a6e71af53a /src/runtime/runtime2.go
parent1716add3dc50d4ef38183d01ac5c1a16c83a8ac9 (diff)
downloadgo-61db2e4efa2a8f558fd3557958d1c86dbbe7d3cc.tar.xz
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>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 696ea81e00..72524f53af 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -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