Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for morestackc (0.22 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/asm_wasm.s

    	CALL
    
    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    // Called during function prolog when more stack is needed.
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    // record an argument size. For that purpose, it has no arguments.
    TEXT runtime·morestack(SB), NOSPLIT, $0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. src/runtime/traceback_test.go

    	}
    	return n
    }
    
    // nosplit to avoid preemption or morestack spilling registers.
    //
    //go:nosplit
    //go:noinline
    func testTracebackArgs10(a, b, c, d, e int32) int {
    	// no use of any args
    	return runtime.Stack(testTracebackArgsBuf[:], false)
    }
    
    // norace to avoid race instrumentation changing spill locations.
    // nosplit to avoid preemption or morestack spilling registers.
    //
    //go:norace
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  10. src/runtime/asm_riscv64.s

    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Called with return address (i.e. caller's PC) in X5 (aka T0),
    // and the LR register contains the caller's LR.
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top