github.com/pkujhd/goloader@v0.0.0-20240411034752-1a28096bd7bd/objabi/dataindex/dataindex.1.16.go (about) 1 //go:build go1.16 && !go1.18 2 // +build go1.16,!go1.18 3 4 package dataindex 5 6 // This file defines the IDs for PCDATA and FUNCDATA instructions 7 // in Go binaries. 8 // 9 // These must agree with ../../../runtime/funcdata.h and 10 // ../../../runtime/symtab.go. 11 const ( 12 PCDATA_UnsafePoint = 0 13 PCDATA_StackMapIndex = 1 14 PCDATA_InlTreeIndex = 2 15 16 FUNCDATA_ArgsPointerMaps = 0 17 FUNCDATA_LocalsPointerMaps = 1 18 FUNCDATA_StackObjects = 2 19 FUNCDATA_InlTree = 3 20 FUNCDATA_OpenCodedDeferInfo = 4 21 22 ArgsSizeUnknown = -0x80000000 23 )