github.com/sirkon/goproxy@v1.4.8/internal/objabi/funcid.go (about) 1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package objabi 6 7 // A FuncID identifies particular functions that need to be treated 8 // specially by the runtime. 9 // Note that in some situations involving plugins, there may be multiple 10 // copies of a particular special runtime function. 11 // Note: this list must match the list in runtime/symtab.go. 12 type FuncID uint32 13 14 const ( 15 FuncID_normal FuncID = iota // not a special function 16 FuncID_runtime_main 17 FuncID_goexit 18 FuncID_jmpdefer 19 FuncID_mcall 20 FuncID_morestack 21 FuncID_mstart 22 FuncID_rt0_go 23 FuncID_asmcgocall 24 FuncID_sigpanic 25 FuncID_runfinq 26 FuncID_gcBgMarkWorker 27 FuncID_systemstack_switch 28 FuncID_systemstack 29 FuncID_cgocallback_gofunc 30 FuncID_gogo 31 FuncID_externalthreadhandler 32 FuncID_debugCallV1 33 )