Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetAttrOnList (0.18 sec)

  1. src/cmd/link/internal/loader/loader.go

    // and is consulted to avoid bugs where a symbol is put on a list
    // twice.
    func (l *Loader) AttrOnList(i Sym) bool {
    	return l.attrOnList.Has(i)
    }
    
    // SetAttrOnList sets the "on list" property for a symbol (see
    // AttrOnList).
    func (l *Loader) SetAttrOnList(i Sym, v bool) {
    	if v {
    		l.attrOnList.Set(i)
    	} else {
    		l.attrOnList.Unset(i)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    		rsym := r.Sym()
    		rst := d.ldr.SymType(rsym)
    
    		// Look for abstract function references.
    		if rst == sym.SDWARFABSFCN {
    			if !d.ldr.AttrOnList(rsym) {
    				// abstract function
    				d.ldr.SetAttrOnList(rsym, true)
    				unit.AbsFnDIEs = append(unit.AbsFnDIEs, sym.LoaderSym(rsym))
    				d.importInfoSymbol(rsym)
    			}
    			continue
    		}
    
    		// Look for type references.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top