Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PCToFunc (0.06 sec)

  1. src/debug/gosym/symtab.go

    		t.Funcs = t.go12line.go12Funcs()
    	}
    	if obj != nil {
    		obj.Funcs = t.Funcs[lastf:]
    	}
    	return &t, nil
    }
    
    // PCToFunc returns the function containing the program counter pc,
    // or nil if there is no such function.
    func (t *Table) PCToFunc(pc uint64) *Func {
    	funcs := t.Funcs
    	for len(funcs) > 0 {
    		m := len(funcs) / 2
    		fn := &funcs[m]
    		switch {
    		case pc < fn.Entry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top