github.com/pkujhd/goloader@v0.0.0-20240411034752-1a28096bd7bd/objabi/dataindex/dataindex.1.12.go (about)

     1  //go:build go1.12 && !go1.13
     2  // +build go1.12,!go1.13
     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_StackMapIndex       = 0
    13  	PCDATA_InlTreeIndex        = 1
    14  	PCDATA_RegMapIndex         = 2
    15  	FUNCDATA_ArgsPointerMaps   = 0
    16  	FUNCDATA_LocalsPointerMaps = 1
    17  	FUNCDATA_InlTree           = 2
    18  	FUNCDATA_RegPointerMaps    = 3
    19  	FUNCDATA_StackObjects      = 4
    20  	ArgsSizeUnknown            = -0x80000000
    21  )