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

     1  //go:build go1.8 && !go1.12
     2  // +build go1.8,!go1.12
     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  	FUNCDATA_ArgsPointerMaps   = 0
    15  	FUNCDATA_LocalsPointerMaps = 1
    16  	FUNCDATA_InlTree           = 2
    17  	ArgsSizeUnknown            = -0x80000000
    18  )