Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GCLocalsSym (0.31 sec)

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

    		}
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    		ctxt.constSyms = append(ctxt.constSyms, s)
    	})
    }
    
    // GCLocalsSym generates a content-addressable sym containing data.
    func (ctxt *Link) GCLocalsSym(data []byte) *LSym {
    	sum := notsha256.Sum256(data)
    	str := base64.StdEncoding.EncodeToString(sum[:16])
    	return ctxt.LookupInit(fmt.Sprintf("gclocals·%s", str), func(lsym *LSym) {
    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/plist.go

    				// frames have two argument bitmaps, one without results and one with results.
    				// Write []uint32{2, 0}.
    				b := make([]byte, 8)
    				ctxt.Arch.ByteOrder.PutUint32(b, 2)
    				s := ctxt.GCLocalsSym(b)
    				if !s.OnList() {
    					ctxt.Globl(s, int64(len(s.P)), int(RODATA|DUPOK))
    				}
    				p.To.Sym = s
    			}
    
    		}
    
    		if curtext == nil {
    			etext = nil
    			continue
    		}
    		etext.Link = p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/liveness/plive.go

    		loff = objw.BitVec(&liveSymTmp, loff, locals)
    	}
    
    	// These symbols will be added to Ctxt.Data by addGCLocals
    	// after parallel compilation is done.
    	return base.Ctxt.GCLocalsSym(argsSymTmp.P), base.Ctxt.GCLocalsSym(liveSymTmp.P)
    }
    
    // Entry pointer for Compute analysis. Solves for the Compute of
    // pointer variables in the function and emits a runtime data
    // structure read by the garbage collector.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top