From 7843ca83e7c8229f4fdca22949428a2418f45138 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 17 Apr 2023 16:50:00 -0400 Subject: 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 Reviewed-by: David Chase TryBot-Result: Gopher Robot Auto-Submit: Austin Clements Reviewed-by: Cherry Mui --- src/runtime/funcdata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/funcdata.h') 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 -- cgit v1.3