- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetAddrPlus (0.37 sec)
-
src/cmd/link/internal/loader/symbolbuilder.go
} func (sb *SymbolBuilder) SetUintptr(arch *sys.Arch, r int64, v uintptr) int64 { return sb.setUintXX(arch, r, uint64(v), int64(arch.PtrSize)) } func (sb *SymbolBuilder) SetAddrPlus(arch *sys.Arch, off int64, tgt Sym, add int64) int64 { if sb.Type() == 0 { sb.SetType(sym.SDATA) } if off+int64(arch.PtrSize) > sb.size { sb.size = off + int64(arch.PtrSize) sb.Grow(sb.size) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
// 2*PtrSize, but in ASAN build it can be larger due to red zone. // (See issue 56175.) bld.SetData(make([]byte, arch.PtrSize*2)) bld.SetReadOnly(false) bld.ResetRelocs() bld.SetAddrPlus(arch, 0, sbld.Sym(), 0) bld.SetUint(arch, int64(arch.PtrSize), uint64(len(value))) } func (ctxt *Link) dostrdata() { for _, name := range strnames {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0)