github.com/pkujhd/goloader@v0.0.0-20240411034752-1a28096bd7bd/objabi/dataindex/dataindex.1.13.go (about) 1 //go:build go1.13 && !go1.16 2 // +build go1.13,!go1.16 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_RegMapIndex = 0 13 PCDATA_StackMapIndex = 1 14 PCDATA_InlTreeIndex = 2 15 16 FUNCDATA_ArgsPointerMaps = 0 17 FUNCDATA_LocalsPointerMaps = 1 18 FUNCDATA_RegPointerMaps = 2 19 FUNCDATA_StackObjects = 3 20 FUNCDATA_InlTree = 4 21 FUNCDATA_OpenCodedDeferInfo = 5 22 ArgsSizeUnknown = -0x80000000 23 )