Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addstrdata1 (0.17 sec)

  1. src/cmd/link/internal/ld/data.go

    	name := pkg + arg[dot:eq]
    	value := arg[eq+1:]
    	if _, ok := strdata[name]; !ok {
    		strnames = append(strnames, name)
    	}
    	strdata[name] = value
    }
    
    // addstrdata sets the initial value of the string variable name to value.
    func addstrdata(arch *sys.Arch, l *loader.Loader, name, value string) {
    	s := l.Lookup(name, 0)
    	if s == 0 {
    		return
    	}
    	if goType := l.SymGoType(s); goType == 0 {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top