]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: define PanicBounds in funcdata.h
authorIan Lance Taylor <iant@golang.org>
Mon, 27 Oct 2025 23:51:01 +0000 (16:51 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 28 Oct 2025 16:45:10 +0000 (09:45 -0700)
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>

src/runtime/funcdata.h

index 4bbc58ea48823ee02a9f4ed96473205626cab9e0..236f3a3369d520c38347e0452d760a6082669ef7 100644 (file)
@@ -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