Home | History | Annotate | Download | only in gosym

Lines Matching refs:fn

140 func walksymtab(data []byte, fn func(sym) error) error {
275 fn(s)
437 fn := &t.Funcs[n]
438 sym.Func = fn
439 fn.Params = make([]*Sym, 0, np)
440 fn.Locals = make([]*Sym, 0, na)
441 fn.Sym = sym
442 fn.Entry = sym.Value
443 fn.Obj = obj
448 fn.LineTable = t.go12line
450 fn.LineTable = pcln.slice(fn.Entry)
451 pcln = fn.LineTable
457 fn.FrameSize = int(s.Value)
459 n := len(fn.Params)
460 fn.Params = fn.Params[0 : n+1]
461 fn.Params[n] = s
463 n := len(fn.Locals)
464 fn.Locals = fn.Locals[0 : n+1]
465 fn.Locals[n] = s
487 fn := &funcs[m]
489 case pc < fn.Entry:
491 case fn.Entry <= pc && pc < fn.End:
492 return fn
501 // If there is no information, it returns fn == nil.
502 func (t *Table) PCToLine(pc uint64) (file string, line int, fn *Func) {
503 if fn = t.PCToFunc(pc); fn == nil {
510 file, line = fn.Obj.lineFromAline(fn.LineTable.PCToLine(pc))
518 func (t *Table) LineToPC(file string, line int) (pc uint64, fn *Func, err error) {