- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ResetRelocs (0.12 sec)
-
src/cmd/link/internal/loader/symbolbuilder.go
} sb.data = append(sb.data, data...) sb.size = int64(len(sb.data)) } func (sb *SymbolBuilder) Relocs() Relocs { return sb.l.Relocs(sb.symIdx) } // ResetRelocs removes all relocations on this symbol. func (sb *SymbolBuilder) ResetRelocs() { sb.relocs = sb.relocs[:0] } // SetRelocType sets the type of the 'i'-th relocation on this sym to 't' func (sb *SymbolBuilder) SetRelocType(i int, t objabi.RelocType) {
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)