From 46e5e2b09a6df80a3b6472c5f7ca5739365b6676 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 27 Oct 2025 16:51:01 -0700 Subject: [PATCH] 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 --- src/runtime/funcdata.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.52.0