Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ContentAddressable (0.17 sec)

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

    	ctxt.hashed64defs = []*LSym{}
    	ctxt.hasheddefs = []*LSym{}
    	ctxt.nonpkgdefs = []*LSym{}
    
    	var idx, hashedidx, hashed64idx, nonpkgidx int32
    	ctxt.traverseSyms(traverseDefs|traversePcdata, func(s *LSym) {
    		if s.ContentAddressable() {
    			if s.Size <= 8 && len(s.R) == 0 && contentHashSection(s) == 0 {
    				// We can use short hash only for symbols without relocations.
    				// Don't use short hash for symbols that belong in a particular section
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/objfile.go

    	o.SetAlign(align)
    	o.Write(w.Writer)
    }
    
    func (w *writer) Hash64(s *LSym) {
    	if !s.ContentAddressable() || len(s.R) != 0 {
    		panic("Hash of non-content-addressable symbol")
    	}
    	w.tmpHash64 = contentHash64(s)
    	w.Bytes(w.tmpHash64[:])
    }
    
    func (w *writer) Hash(s *LSym) {
    	if !s.ContentAddressable() {
    		panic("Hash of non-content-addressable symbol")
    	}
    	w.tmpHash = w.contentHash(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	// Only applied on type descriptor symbols, UsedInIface indicates this type is
    	// converted to an interface.
    	//
    	// Used by the linker to determine what methods can be pruned.
    	AttrUsedInIface
    
    	// ContentAddressable indicates this is a content-addressable symbol.
    	AttrContentAddressable
    
    	// ABI wrapper is set for compiler-generated text symbols that
    	// convert between ABI0 and ABIInternal calling conventions.
    	AttrABIWrapper
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    func EmitArgInfo(f *ir.Func, abiInfo *abi.ABIParamResultInfo) *obj.LSym {
    	x := base.Ctxt.Lookup(fmt.Sprintf("%s.arginfo%d", f.LSym.Name, f.ABI))
    	// NOTE: do not set ContentAddressable here. This may be referenced from
    	// assembly code by name (in this case f is a declaration).
    	// Instead, set it in emitArgInfo above.
    
    	PtrSize := int64(types.PtrSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top