- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for decodetypeKind (0.21 sec)
-
src/cmd/link/internal/ld/deadcode.go
p := ldr.Data(symIdx) if p == nil { panic(fmt.Sprintf("missing symbol %q", ldr.SymName(symIdx))) } if decodetypeKind(arch, p) != abi.Interface { panic(fmt.Sprintf("symbol %q is not an interface", ldr.SymName(symIdx))) } relocs := ldr.Relocs(symIdx) var m methodsig m.name = decodetypeName(ldr, symIdx, &relocs, int(off))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
func uncommonSize(arch *sys.Arch) int { return int(abi.UncommonSize()) } // runtime.uncommontype // Type.commonType.kind func decodetypeKind(arch *sys.Arch, p []byte) abi.Kind { return abi.Kind(p[2*arch.PtrSize+7]) & abi.KindMask // 0x13 / 0x1f } // Type.commonType.kind func decodetypeUsegcprog(arch *sys.Arch, p []byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
sn := d.ldr.SymName(gotype) name := sn[5:] // could also decode from Type.string tdata := d.ldr.Data(gotype) if len(tdata) == 0 { d.linkctxt.Errorf(gotype, "missing type") } kind := decodetypeKind(d.arch, tdata) bytesize := decodetypeSize(d.arch, tdata) var die, typedefdie *dwarf.DWDie switch kind { case abi.Bool: die = d.newdie(&dwtypes, dwarf.DW_ABRV_BASETYPE, name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0)