- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for compressSyms (0.1 sec)
-
src/cmd/link/internal/ld/data.go
if *FlagDebugTramp > 0 && ctxt.Debugvlog > 0 { ctxt.Logf("trampoline %s inserted\n", s.Name()) } } // compressSyms compresses syms and returns the contents of the // compressed section. If the section would get larger, it returns nil. func compressSyms(ctxt *Link, syms []loader.Sym) []byte { ldr := ctxt.loader var total int64 for _, sym := range syms { total += ldr.SymSize(sym) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
return } var compressedCount int resChannel := make(chan compressedSect) for i := range dwarfp { go func(resIndex int, syms []loader.Sym) { resChannel <- compressedSect{resIndex, compressSyms(ctxt, syms), syms} }(compressedCount, dwarfp[i].syms) compressedCount++ } res := make([]compressedSect, compressedCount) for ; compressedCount > 0; compressedCount-- { r := <-resChannel
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0)