aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/funcdata.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2025-10-27 16:51:01 -0700
committerGopher Robot <gobot@golang.org>2025-10-28 09:45:10 -0700
commit46e5e2b09a6df80a3b6472c5f7ca5739365b6676 (patch)
tree74e076da0daf7b01b35d525508b052af8e3482df /src/runtime/funcdata.h
parent3da03566858a1676b7d928366db11e301c511b94 (diff)
downloadgo-46e5e2b09a6df80a3b6472c5f7ca5739365b6676.tar.xz
runtime: define PanicBounds in funcdata.h
The comment in funcdata.h says that the constants must agree with those in internal/abi/symtab.go. Make that so. Change-Id: Ib64146bfb31fdecfc1cc6ae03ae746a1b4a4d22e Reviewed-on: https://go-review.googlesource.com/c/go/+/715521 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/funcdata.h')
-rw-r--r--src/runtime/funcdata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/funcdata.h b/src/runtime/funcdata.h
index 4bbc58ea48..236f3a3369 100644
--- a/src/runtime/funcdata.h
+++ b/src/runtime/funcdata.h
@@ -12,6 +12,7 @@
#define PCDATA_StackMapIndex 1
#define PCDATA_InlTreeIndex 2
#define PCDATA_ArgLiveIndex 3
+#define PCDATA_PanicBounds 4
#define FUNCDATA_ArgsPointerMaps 0 /* garbage collector blocks */
#define FUNCDATA_LocalsPointerMaps 1