Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decodetypeFuncInType (0.29 sec)

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

    	r := decodeRelocSym(ldr, symIdx, relocs, int32(off))
    	if r == 0 {
    		return false
    	}
    	data := ldr.Data(r)
    	return data[0]&(1<<3) != 0
    }
    
    func decodetypeFuncInType(ldr *loader.Loader, arch *sys.Arch, symIdx loader.Sym, relocs *loader.Relocs, i int) loader.Sym {
    	uadd := commonsize(arch) + 4
    	if arch.PtrSize == 8 {
    		uadd += 4
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    		data := d.ldr.Data(gotype)
    		// FIXME: add caching or reuse reloc slice.
    		relocs := d.ldr.Relocs(gotype)
    		nfields := decodetypeFuncInCount(d.arch, data)
    		for i := 0; i < nfields; i++ {
    			s := decodetypeFuncInType(d.ldr, d.arch, gotype, &relocs, i)
    			sn := d.ldr.SymName(s)
    			fld := d.newdie(die, dwarf.DW_ABRV_FUNCTYPEPARAM, sn[5:])
    			d.newrefattr(fld, dwarf.DW_AT_type, d.defgotype(s))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top