- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetSymSect (0.13 sec)
-
src/cmd/link/internal/loader/loader.go
// outside the range of the existing slice, then we assume its // section has not yet been set. return nil } return l.sects[l.symSects[i]] } // SetSymSect sets the section of the i-th symbol. i is global index. func (l *Loader) SetSymSect(i Sym, sect *sym.Section) { if int(i) >= len(l.symSects) { l.symSects = append(l.symSects, make([]uint16, l.NSym()-len(l.symSects))...) } l.symSects[i] = sect.Index
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
sect.Compressed = true newSym := ldr.MakeSymbolBuilder(compressedSegName) ldr.SetAttrReachable(s, true) newSym.SetData(z.compressed) newSym.SetSize(int64(len(z.compressed))) ldr.SetSymSect(newSym.Sym(), sect) ds := dwarfSecInfo{syms: []loader.Sym{newSym.Sym()}} newDwarfp = append(newDwarfp, ds) // compressed symbols are no longer needed. for _, s := range z.syms {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0)