Skip to content

Commit 46e5e2b

Browse files
ianlancetaylorgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent 3da0356 commit 46e5e2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/funcdata.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#define PCDATA_StackMapIndex 1
1313
#define PCDATA_InlTreeIndex 2
1414
#define PCDATA_ArgLiveIndex 3
15+
#define PCDATA_PanicBounds 4
1516

1617
#define FUNCDATA_ArgsPointerMaps 0 /* garbage collector blocks */
1718
#define FUNCDATA_LocalsPointerMaps 1

0 commit comments

Comments
 (0)