diff options
| author | Austin Clements <austin@google.com> | 2023-04-17 16:50:00 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-21 19:28:49 +0000 |
| commit | 7843ca83e7c8229f4fdca22949428a2418f45138 (patch) | |
| tree | af287142e7909423c1e4ea9873c21b15f60aa06b /src/runtime/funcdata.h | |
| parent | 2668a190baa302a1fd7e22285cdb343af67530ad (diff) | |
| download | go-7843ca83e7c8229f4fdca22949428a2418f45138.tar.xz | |
internal/abi, runtime, cmd: merge PCDATA_* and FUNCDATA_* consts into internal/abi
We also rename the constants related to unsafe-points: currently, they
follow the same naming scheme as the PCDATA table indexes, but are not
PCDATA table indexes.
For #59670.
Change-Id: I06529fecfae535be5fe7d9ac56c886b9106c74fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/485497
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/funcdata.h')
| -rw-r--r-- | src/runtime/funcdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/funcdata.h b/src/runtime/funcdata.h index 2e2bb30446..edc0316fb0 100644 --- a/src/runtime/funcdata.h +++ b/src/runtime/funcdata.h @@ -6,7 +6,7 @@ // in Go binaries. It is included by assembly sources, so it must // be written using #defines. // -// These must agree with symtab.go and ../cmd/internal/objabi/funcdata.go. +// These must agree with internal/abi/symtab.go. #define PCDATA_UnsafePoint 0 #define PCDATA_StackMapIndex 1 |
