Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for morestackc (0.15 sec)

  1. src/runtime/stack.go

    stack overflow (morestack).
    
    For example, deferproc might call malloc, which does one of the
    above checks (without allocating a full frame), which might trigger
    a call to morestack.  This sequence needs to fit in the bottom
    section of the stack.  On amd64, morestack's frame is 40 bytes, and
    deferproc's frame is 56 bytes.  That fits well within the
    StackGuard - StackSmall bytes at the bottom.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm/obj5.go

    	bls.To.SetTarget(movw)
    
    	// BL runtime.morestack
    	call := obj.Appendp(movw, c.newprog)
    	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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/obj.go

    	// Spill the register args that could be clobbered by the
    	// morestack code
    	p = c.cursym.Func().SpillRegisterArgs(p, c.newprog)
    
    	// JAL	runtime.morestack(SB)
    	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() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/s390x/objz.go

    		pPreempt.To.SetTarget(p)
    	}
    
    	// BL	runtime.morestack(SB)
    	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")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/obj7.go

    	}
    
    	// BL	runtime.morestack(SB)
    	call := obj.Appendp(debug, c.newprog)
    	call.As = ABL
    	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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/mips/obj0.go

    	// JAL	runtime.morestack(SB)
    	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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    	var morestacksym *obj.LSym
    	if c.cursym.CFunc() {
    		morestacksym = c.ctxt.Lookup("runtime.morestackc")
    	} else if !c.cursym.Func().Text.From.Sym.NeedCtxt() {
    		morestacksym = c.ctxt.Lookup("runtime.morestack_noctxt")
    	} else {
    		morestacksym = c.ctxt.Lookup("runtime.morestack")
    	}
    
    	if NeedTOCpointer(c.ctxt) {
    		// In PPC64 PIC code, R2 is used as TOC pointer derived from R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/obj6.go

    	call.As = obj.ACALL
    	call.To.Type = obj.TYPE_BRANCH
    	call.To.Name = obj.NAME_EXTERN
    	morestack := "runtime.morestack"
    	switch {
    	case cursym.CFunc():
    		morestack = "runtime.morestackc"
    	case !cursym.Func().Text.From.Sym.NeedCtxt():
    		morestack = "runtime.morestack_noctxt"
    	}
    	call.To.Sym = ctxt.Lookup(morestack)
    	// When compiling 386 code for dynamic linking, the call needs to be adjusted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  9. src/runtime/runtime2.go

    	// stackguard1 is the stack pointer compared in the //go:systemstack stack growth prologue.
    	// It is stack.lo+StackGuard on g0 and gsignal stacks.
    	// It is ~0 on other goroutine stacks, to trigger a call to morestackc (and crash).
    	stack       stack   // offset known to runtime/cgo
    	stackguard0 uintptr // offset known to liblink
    	stackguard1 uintptr // offset known to liblink
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/wasm/wasmobj.go

    	// call to maymorestack *before* processing resume points so
    	// we can construct a resume point after maymorestack for
    	// morestack to resume at.
    	var pMorestack = s.Func().Text
    	if needMoreStack && ctxt.Flag_maymorestack != "" {
    		p := pMorestack
    
    		// Save REGCTXT on the stack.
    		const tempFrame = 8
    		p = appendp(p, AGet, regAddr(REG_SP))
    		p = appendp(p, AI32Const, constAddr(tempFrame))
    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