From: Ian Lance Taylor Date: Mon, 27 Oct 2025 23:51:01 +0000 (-0700) Subject: runtime: define PanicBounds in funcdata.h X-Git-Tag: go1.26rc1~439 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=46e5e2b09a;p=gostls13.git 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 Reviewed-by: Michael Pratt Reviewed-by: Michael Knyszek Auto-Submit: Ian Lance Taylor --- 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