Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for morestackc (0.15 sec)

  1. test/abi/bad_internal_offsets.go

    }
    
    type StructF0S1 struct {
    	_ uint16
    }
    
    // 0 returns 3 params
    //go:registerparams
    //go:noinline
    func Test0(p0 uint32, p1 StructF0S0, p2 int32) {
    	// consume some stack space, so as to trigger morestack
    	var pad [256]uint64
    	pad[FailCount]++
    	if p0 == 0 {
    		return
    	}
    	p1f0c := int16(-3096)
    	if p1.F0 != p1f0c {
    		NoteFailureElem(0, "genChecker0", "parm", 1, 0, pad[0])
    		return
    	}
    	p1f1c := "f6ꂅ8ˋ<"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/funcid.go

    	"gopanic":            abi.FuncID_gopanic,
    	"handleAsyncEvent":   abi.FuncID_handleAsyncEvent,
    	"main":               abi.FuncID_runtime_main,
    	"mcall":              abi.FuncID_mcall,
    	"morestack":          abi.FuncID_morestack,
    	"mstart":             abi.FuncID_mstart,
    	"panicwrap":          abi.FuncID_panicwrap,
    	"runfinq":            abi.FuncID_runfinq,
    	"sigpanic":           abi.FuncID_sigpanic,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 21:33:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_solaris_amd64.c

    	// See golang.org/issue/12210.
    	if(ctx.uc_stack.ss_size < 1024*1024)
    		g->stacklo -= 1024*1024 - ctx.uc_stack.ss_size;
    
    	// Sanity check the results now, rather than getting a
    	// morestack on g0 crash.
    	if (g->stacklo >= g->stackhi) {
    		fatalf("bad stack bounds: lo=%p hi=%p", (void*)(g->stacklo), (void*)(g->stackhi));
    	}
    }
    
    void
    _cgo_sys_thread_start(ThreadStart *ts)
    {
    	pthread_attr_t attr;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/runtime/cgo/gcc_libinit.c

    	if (pbounds == NULL) {
    		pbounds = &bounds[0];
    	}
    
    	x_cgo_getstackbound(pbounds);
    
    	g->stacklo = *pbounds;
    
    	// Sanity check the results now, rather than getting a
    	// morestack on g0 crash.
    	if (g->stacklo >= g->stackhi) {
    		fprintf(stderr, "runtime/cgo: bad stack bounds: lo=%p hi=%p\n", (void*)(g->stacklo), (void*)(g->stackhi));
    		abort();
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/asm_mips64x.s

    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R1: framesize, R2: argsize, R3: LR
    //
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  9. src/runtime/asm_s390x.s

    	// should never return
    	BL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R3: framesize, R4: argsize, R5: LR
    //
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/runtime/asm_loong64.s

    	// should never return
    	JAL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // loong64: R31: LR
    //
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top