Home | History | Annotate | Download | only in runtime

Lines Matching defs:Func

38 	// Func is the Func value of this call frame. This may be nil
40 Func *Func
46 // If Func is not nil then Function == Func.Name().
57 // if not known. If Func is not nil then Entry ==
58 // Func.Entry().
91 func CallersFrames(callers []uintptr) *Frames {
97 func (se *stackExpander) init(callers []uintptr) []uintptr {
119 func (ci *Frames) Next() (frame Frame, more bool) {
125 func (se *stackExpander) next(callers []uintptr, elideWrapper bool) (ncallers []uintptr, frame Frame, more bool) {
202 func (ex *pcExpander) init(pc uintptr, panicCall bool) {
240 func (ex *pcExpander) next() Frame {
258 Func: nil, // nil for inlined functions
274 Func: ex.funcInfo._Func(),
285 func expandCgoFrames(pc uintptr) []Frame {
298 Func: nil,
320 // NOTE: Func does not expose the actual unexported fields, because we return *Func
322 // with (say) *f = Func{}.
323 // All code operating on a *Func must call raw() to get the *_func
326 // A Func represents a Go function in the running binary.
327 type Func struct {
331 func (f *Func) raw() *_func {
335 func (f *Func) funcInfo() funcInfo {
435 func activeModules() []*moduledata {
461 func modulesinit() {
508 const pcbucketsize = 256 * minfunc // size of bucket in the pc->func lookup table
523 func moduledataverify() {
531 func moduledataverify1(datap *moduledata) {
574 // FuncForPC returns a *Func describing the function that contains the
578 // the *Func describing the outermost function.
579 func FuncForPC(pc uintptr) *Func {
584 func (f *Func) Name() string {
592 func (f *Func) Entry() uintptr {
600 func (f *Func) FileLine(pc uintptr) (file string, line int) {
607 func findmoduledatap(pc uintptr) *moduledata {
621 func (f funcInfo) valid() bool {
625 func (f funcInfo) _Func() *Func {
626 return (*Func)(unsafe.Pointer(f._func))
629 func findfunc(pc uintptr) funcInfo {
663 // linear search to find func with pc >= entry.
683 func pcvalue(f funcInfo, off int32, targetpc uintptr, cache *pcvalueCache, strict bool) int32 {
767 func cfuncname(f funcInfo) *byte {
774 func funcname(f funcInfo) string {
778 func funcnameFromNameoff(f funcInfo, nameoff int32) string {
787 func funcfile(f funcInfo, fileno int32) string {
795 func funcline1(f funcInfo, targetpc uintptr, strict bool) (file string, line int32) {
810 func funcline(f funcInfo, targetpc uintptr) (file string, line int32) {
814 func funcspdelta(f funcInfo, targetpc uintptr, cache *pcvalueCache) int32 {
822 func pcdatavalue(f funcInfo, table int32, targetpc uintptr, cache *pcvalueCache) int32 {
830 func funcdata(f funcInfo, i int32) unsafe.Pointer {
837 println("runtime: misaligned func", f._func)
845 func step(p []byte, pc *uintptr, val *int32, first bool) (newp []byte, ok bool) {
875 func readvarint(p []byte) (read uint32, val uint32) {
896 func stackmapdata(stkmap *stackmap, n int32) bitvector {