aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/funcdata.h
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2017-02-20 17:49:56 -0500
committerAustin Clements <austin@google.com>2017-02-27 22:29:28 +0000
commitbab191042b92b125f5fac83dc8f0201160b79ecd (patch)
treebdc8832c2be60952b4c4472a6c35e921f32a5e28 /src/runtime/funcdata.h
parent949f95e7a40715ad05015dc4cb039e78a5260ef8 (diff)
downloadgo-bab191042b92b125f5fac83dc8f0201160b79ecd.tar.xz
cmd/internal/obj, runtime: update funcdata comments
The comments in cmd/internal/obj/funcdata.go are identical to the comments in runtime/funcdata.h, but the majority of the definitions they refer to don't apply to Go sources and have been stripped out of funcdata.go. Remove these stale comments from funcdata.go and clean up the references to other copies of the PCDATA and FUNCDATA indexes. Change-Id: I5d6e49a6e586cc9aecd7c3ce1567679f2a605884 Reviewed-on: https://go-review.googlesource.com/37330 Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/funcdata.h')
-rw-r--r--src/runtime/funcdata.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/funcdata.h b/src/runtime/funcdata.h
index 82992e221b..c77e7b094f 100644
--- a/src/runtime/funcdata.h
+++ b/src/runtime/funcdata.h
@@ -6,9 +6,7 @@
// in Go binaries. It is included by assembly sources, so it must
// be written using #defines.
//
-// The Go compiler also #includes this file, for now.
-//
-// symtab.go also contains a copy of these constants.
+// These must agree with symtab.go and ../cmd/internal/obj/funcdata.go.
#define PCDATA_StackMapIndex 0