github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/obj/symtab.1.21.go (about)

     1  //go:build go1.21 && !go1.23
     2  // +build go1.21,!go1.23
     3  
     4  package obj
     5  
     6  type FuncID uint8
     7  
     8  const (
     9  	// If you add a FuncID, you probably also want to add an entry to the map in
    10  	// ../../cmd/internal/objabi/funcid.go
    11  
    12  	FuncIDNormal FuncID = iota // not a special function
    13  	FuncID_abort
    14  	FuncID_asmcgocall
    15  	FuncID_asyncPreempt
    16  	FuncID_cgocallback
    17  	FuncID_debugCallV2
    18  	FuncID_gcBgMarkWorker
    19  	FuncID_goexit
    20  	FuncID_gogo
    21  	FuncID_gopanic
    22  	FuncID_handleAsyncEvent
    23  	FuncID_mcall
    24  	FuncID_morestack
    25  	FuncID_mstart
    26  	FuncID_panicwrap
    27  	FuncID_rt0_go
    28  	FuncID_runfinq
    29  	FuncID_runtime_main
    30  	FuncID_sigpanic
    31  	FuncID_systemstack
    32  	FuncID_systemstack_switch
    33  	FuncIDWrapper // any autogenerated code (hash/eq algorithms, method wrappers, etc.)
    34  )