Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPayload (0.28 sec)

  1. src/cmd/link/internal/loader/loader.go

    	l.growExtAttrBitmaps()
    	return pi
    }
    
    // getPayload returns a pointer to the extSymPayload struct for an
    // external symbol if the symbol has a payload. Will panic if the
    // symbol in question is bogus (zero or not an external sym).
    func (l *Loader) getPayload(i Sym) *extSymPayload {
    	if !l.IsExternal(i) {
    		panic(fmt.Sprintf("bogus symbol index %d in getPayload", i))
    	}
    	pi := l.extIndex(i)
    	return l.payloads[pi]
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top