aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/symtab.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/symtab.go')
-rw-r--r--libgo/go/runtime/symtab.go31
1 files changed, 0 insertions, 31 deletions
diff --git a/libgo/go/runtime/symtab.go b/libgo/go/runtime/symtab.go
index 8f3c843..a2ecf38 100644
--- a/libgo/go/runtime/symtab.go
+++ b/libgo/go/runtime/symtab.go
@@ -120,37 +120,6 @@ type Func struct {
entry uintptr
}
-// A FuncID identifies particular functions that need to be treated
-// specially by the runtime.
-// Note that in some situations involving plugins, there may be multiple
-// copies of a particular special runtime function.
-// Note: this list must match the list in cmd/internal/objabi/funcid.go.
-type funcID uint8
-
-const (
- funcID_normal funcID = iota // not a special function
- funcID_runtime_main
- funcID_goexit
- funcID_jmpdefer
- funcID_mcall
- funcID_morestack
- funcID_mstart
- funcID_rt0_go
- funcID_asmcgocall
- funcID_sigpanic
- funcID_runfinq
- funcID_gcBgMarkWorker
- funcID_systemstack_switch
- funcID_systemstack
- funcID_cgocallback_gofunc
- funcID_gogo
- funcID_externalthreadhandler
- funcID_debugCallV1
- funcID_gopanic
- funcID_panicwrap
- funcID_wrapper // any autogenerated code (hash/eq algorithms, method wrappers, etc.)
-)
-
// FuncForPC returns a *Func describing the function that contains the
// given program counter address, or else nil.
//