- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SetAttrOnList (0.21 sec)
-
src/cmd/link/internal/loader/loader_test.go
// Test expansion of attr bitmaps for idx := 0; idx < 36; idx++ { es := ldr.LookupOrCreateSym(fmt.Sprintf("zext%d", idx), 0) if ldr.AttrOnList(es) { t.Errorf("expected OnList after creation") } ldr.SetAttrOnList(es, true) if !ldr.AttrOnList(es) { t.Errorf("expected !OnList after update") } if ldr.AttrDuplicateOK(es) { t.Errorf("expected DupOK after creation") } ldr.SetAttrDuplicateOK(es, true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
src/cmd/link/internal/loader/symbolbuilder.go
func (sb *SymbolBuilder) SetSize(size int64) { sb.size = size } func (sb *SymbolBuilder) SetData(data []byte) { sb.data = data } func (sb *SymbolBuilder) SetOnList(v bool) { sb.l.SetAttrOnList(sb.symIdx, v) } func (sb *SymbolBuilder) SetExternal(v bool) { sb.l.SetAttrExternal(sb.symIdx, v) } func (sb *SymbolBuilder) SetValue(v int64) { sb.l.SetSymValue(sb.symIdx, v) }
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/loadelf/ldelf.go
return errorf("symbol %s listed multiple times", l.SymName(s)) } l.SetAttrOnList(s, true) textp = append(textp, s) for ss := l.SubSym(s); ss != 0; ss = l.SubSym(ss) { if l.AttrOnList(ss) { return errorf("symbol %s listed multiple times", l.SymName(ss)) } l.SetAttrOnList(ss, true) textp = append(textp, ss) } } } // load relocations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:12:12 UTC 2024 - 33.9K bytes - Viewed (0) -
src/cmd/link/internal/loadpe/ldpe.go
if l.SymType(s) == sym.STEXT { for ; s != 0; s = l.SubSym(s) { if l.AttrOnList(s) { return nil, fmt.Errorf("symbol %s listed multiple times", l.SymName(s)) } l.SetAttrOnList(s, true) ls.Textp = append(ls.Textp, s) } } } if ls.PData != 0 { processSEH(l, arch, ls.PData, ls.XData) } return &ls, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 20:26:46 UTC 2023 - 26.5K bytes - Viewed (0)