Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DuplicateOK (0.19 sec)

  1. src/cmd/internal/obj/objfile.go

    func (w *writer) Sym(s *LSym) {
    	name := s.Name
    	abi := uint16(s.ABI())
    	if s.Static() {
    		abi = goobj.SymABIstatic
    	}
    	flag := uint8(0)
    	if s.DuplicateOK() {
    		flag |= goobj.SymFlagDupok
    	}
    	if s.Local() {
    		flag |= goobj.SymFlagLocal
    	}
    	if s.MakeTypelink() {
    		flag |= goobj.SymFlagTypelink
    	}
    	if s.Leaf() {
    		flag |= goobj.SymFlagLeaf
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/sym.go

    		return true
    	}
    	if s.Pkg == "_" {
    		// The frontend uses package "_" to mark symbols that should not
    		// be referenced by index, e.g. linkname'd symbols.
    		return true
    	}
    	if s.DuplicateOK() {
    		// Dupok symbol needs to be dedup'd by name.
    		return true
    	}
    	return false
    }
    
    // StaticNamePref is the prefix the front end applies to static temporary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	//
    	// MUST BE LAST since all bits above this comprise the ABI.
    	attrABIBase
    )
    
    func (a *Attribute) load() Attribute { return Attribute(atomic.LoadUint32((*uint32)(a))) }
    
    func (a *Attribute) DuplicateOK() bool        { return a.load()&AttrDuplicateOK != 0 }
    func (a *Attribute) MakeTypelink() bool       { return a.load()&AttrMakeTypelink != 0 }
    func (a *Attribute) CFunc() bool              { return a.load()&AttrCFunc != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top