Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StaticName (0.27 sec)

  1. src/cmd/compile/internal/staticinit/sched.go

    // data statements for the constant
    // part of the composite literal.
    
    var statuniqgen int // name generator for static temps
    
    // StaticName returns a name backed by a (writable) static data symbol.
    // Use readonlystaticname for read-only node.
    func StaticName(t *types.Type) *ir.Name {
    	// Don't use LookupNum; it interns the resulting string, but these are all unique.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/complit.go

    		return "inInitFunction"
    	}
    	return "inNonInitFunction"
    }
    
    // readonlystaticname returns a name backed by a read-only static data symbol.
    func readonlystaticname(t *types.Type) *ir.Name {
    	n := staticinit.StaticName(t)
    	n.MarkReadonly()
    	n.Linksym().Set(obj.AttrContentAddressable, true)
    	n.Linksym().Set(obj.AttrLocal, true)
    	return n
    }
    
    func isSimpleName(nn ir.Node) bool {
    	if nn.Op() != ir.ONAME || ir.IsBlank(nn) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    func (o *orderState) edge() {
    	if base.Debug.Libfuzzer == 0 {
    		return
    	}
    
    	// Create a new uint8 counter to be allocated in section __sancov_cntrs
    	counter := staticinit.StaticName(types.Types[types.TUINT8])
    	counter.SetLibfuzzer8BitCounter(true)
    	// As well as setting SetLibfuzzer8BitCounter, we preemptively set the
    	// symbol type to SLIBFUZZER_8BIT_COUNTER so that the race detector
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top