github.com/pkujhd/goloader@v0.0.0-20240411034752-1a28096bd7bd/objabi/dataindex/dataindex.1.18.go (about) 1 //go:build go1.18 && !go1.20 2 // +build go1.18,!go1.20 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 PCDATA_ArgLiveIndex = 3 16 17 FUNCDATA_ArgsPointerMaps = 0 18 FUNCDATA_LocalsPointerMaps = 1 19 FUNCDATA_StackObjects = 2 20 FUNCDATA_InlTree = 3 21 FUNCDATA_OpenCodedDeferInfo = 4 22 FUNCDATA_ArgInfo = 5 23 FUNCDATA_ArgLiveInfo = 6 24 25 ArgsSizeUnknown = -0x80000000 26 )