Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for NeedCtxt (0.21 sec)

  1. src/runtime/textflag.h

    #define RODATA	8
    // This data contains no pointers.
    #define NOPTR	16
    // This is a wrapper function and should not count as disabling 'recover'.
    #define WRAPPER 32
    // This function uses its incoming context register.
    #define NEEDCTXT 64
    // Allocate a word of thread local storage and store the offset from the
    // thread local base to the thread local storage in this variable.
    #define TLSBSS	256
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 17:28:41 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/textflag.go

    	NOPTR = 16
    
    	// This is a wrapper function and should not count as
    	// disabling 'recover' or appear in tracebacks by default.
    	WRAPPER = 32
    
    	// This function uses its incoming context register.
    	NEEDCTXT = 64
    
    	// When passed to objw.Global, causes Local to be set to true on the LSym it creates.
    	LOCAL = 128
    
    	// Allocate a word of thread local storage and store the offset from the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/plist.go

    	s.Set(AttrNoSplit, flag&NOSPLIT != 0)
    	s.Set(AttrReflectMethod, flag&REFLECTMETHOD != 0)
    	s.Set(AttrWrapper, flag&WRAPPER != 0)
    	s.Set(AttrABIWrapper, flag&ABIWRAPPER != 0)
    	s.Set(AttrNeedCtxt, flag&NEEDCTXT != 0)
    	s.Set(AttrNoFrame, flag&NOFRAME != 0)
    	s.Set(AttrPkgInit, flag&PKGINIT != 0)
    	s.Type = objabi.STEXT
    	ctxt.Text = append(ctxt.Text, s)
    
    	// Set up DWARF entries for s
    	ctxt.dwarfSym(s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/obj6.go

    		// Avoid register parameters.
    		tmp = int16(REGENTRYTMP0)
    	}
    
    	if ctxt.Flag_maymorestack != "" {
    		p = cursym.Func().SpillRegisterArgs(p, newprog)
    
    		if cursym.Func().Text.From.Sym.NeedCtxt() {
    			p = obj.Appendp(p, newprog)
    			p.As = push
    			p.From.Type = obj.TYPE_REG
    			p.From.Reg = REGCTXT
    		}
    
    		// We call maymorestack with an ABI matching the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/link.go

    func (a *Attribute) Local() bool              { return a.load()&AttrLocal != 0 }
    func (a *Attribute) Wrapper() bool            { return a.load()&AttrWrapper != 0 }
    func (a *Attribute) NeedCtxt() bool           { return a.load()&AttrNeedCtxt != 0 }
    func (a *Attribute) NoFrame() bool            { return a.load()&AttrNoFrame != 0 }
    func (a *Attribute) Static() bool             { return a.load()&AttrStatic != 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)
  6. src/cmd/compile/internal/ir/func.go

    func (f *Func) Wrapper() bool                  { return f.flags&funcWrapper != 0 }
    func (f *Func) ABIWrapper() bool               { return f.flags&funcABIWrapper != 0 }
    func (f *Func) Needctxt() bool                 { return f.flags&funcNeedctxt != 0 }
    func (f *Func) IsHiddenClosure() bool          { return f.flags&funcIsHiddenClosure != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/obj.go

    	p = obj.Appendp(p, c.newprog)
    
    	p.As = AJAL
    	p.To.Type = obj.TYPE_BRANCH
    	if c.cursym.CFunc() {
    		p.To.Sym = c.ctxt.Lookup("runtime.morestackc")
    	} else if !c.cursym.Func().Text.From.Sym.NeedCtxt() {
    		p.To.Sym = c.ctxt.Lookup("runtime.morestack_noctxt")
    	} else {
    		p.To.Sym = c.ctxt.Lookup("runtime.morestack")
    	}
    	p.Mark |= BRANCH
    
    	p = c.cursym.Func().UnspillRegisterArgs(p, c.newprog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm/obj5.go

    	call.As = obj.ACALL
    	call.To.Type = obj.TYPE_BRANCH
    	morestack := "runtime.morestack"
    	switch {
    	case c.cursym.CFunc():
    		morestack = "runtime.morestackc"
    	case !c.cursym.Func().Text.From.Sym.NeedCtxt():
    		morestack = "runtime.morestack_noctxt"
    	}
    	call.To.Sym = c.ctxt.Lookup(morestack)
    
    	pcdata = c.ctxt.EndUnsafePoint(call, c.newprog, -1)
    
    	// B start
    	b := obj.Appendp(pcdata, c.newprog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/objz.go

    	p = obj.Appendp(p, c.newprog)
    
    	p.As = ABL
    	p.To.Type = obj.TYPE_BRANCH
    	if c.cursym.CFunc() {
    		p.To.Sym = c.ctxt.Lookup("runtime.morestackc")
    	} else if !c.cursym.Func().Text.From.Sym.NeedCtxt() {
    		p.To.Sym = c.ctxt.Lookup("runtime.morestack_noctxt")
    	} else {
    		p.To.Sym = c.ctxt.Lookup("runtime.morestack")
    	}
    
    	p = c.ctxt.EndUnsafePoint(p, c.newprog, -1)
    
    	// BR	pCheck
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/wasm/wasmobj.go

    		// function) and perform the morestack check again.
    		// This is why we don't need an explicit loop like
    		// other architectures.
    		p = appendp(p, obj.ACALL, constAddr(0))
    		if s.Func().Text.From.Sym.NeedCtxt() {
    			p.To = obj.Addr{Type: obj.TYPE_MEM, Name: obj.NAME_EXTERN, Sym: morestack}
    		} else {
    			p.To = obj.Addr{Type: obj.TYPE_MEM, Name: obj.NAME_EXTERN, Sym: morestackNoCtxt}
    		}
    		p = appendp(p, AEnd)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top