Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for morestackc (0.31 sec)

  1. src/runtime/asm_ppc64x.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:
    // 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: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  2. src/runtime/asm_arm64.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:
    // R3 prolog's LR (R30)
    //
    // 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: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  3. src/runtime/stubs.go

    // these functions, which is in
    // cmd/compile/internal/devirtualize/pgo.maybeDevirtualizeFunctionCall.
    func getclosureptr() uintptr
    
    //go:noescape
    func asmcgocall(fn, arg unsafe.Pointer) int32
    
    func morestack()
    
    // morestack_noctxt should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/frugal
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. src/runtime/crash_cgo_test.go

    			}
    			got := runTestProg(t, prog, test)
    			t.Log(got)
    			want := "SIGSEGV"
    			if !strings.Contains(got, want) {
    				if runtime.GOOS == "darwin" && runtime.GOARCH == "amd64" && strings.Contains(got, "fatal: morestack on g0") {
    					testenv.SkipFlaky(t, 39457)
    				}
    				t.Errorf("did not see %q in output", want)
    			}
    
    			// No runtime errors like "runtime: unknown pc".
    			switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. src/runtime/crash_test.go

    		cmd.Env = append(cmd.Env, "TEST_G0_STACK_OVERFLOW=1")
    		out, err := cmd.CombinedOutput()
    		t.Logf("output:\n%s", out)
    		// Don't check err since it's expected to crash.
    		if n := strings.Count(string(out), "morestack on g0\n"); n != 1 {
    			t.Fatalf("%s\n(exit status %v)", out, err)
    		}
    		if runtime.CrashStackImplemented {
    			// check for a stack trace
    			want := "runtime.stackOverflow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    		if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
    			switch f.funcID {
    			case abi.FuncID_morestack:
    				// morestack does not return normally -- newstack()
    				// gogo's to curg.sched. Match that.
    				// This keeps morestack() from showing up in the backtrace,
    				// but that makes some sense since it'll never be returned
    				// to.
    				gp = gp.m.curg
    				u.g.set(gp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func badmorestackg0() {
    	if !crashStackImplemented {
    		writeErrStr("fatal: morestack on g0\n")
    		return
    	}
    
    	g := getg()
    	switchToCrashStack(func() {
    		print("runtime: morestack on g0, stack [", hex(g.stack.lo), " ", hex(g.stack.hi), "], sp=", hex(g.sched.sp), ", called from\n")
    		g.m.traceback = 2 // include pc and sp in stack trace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/liveness/plive.go

    		// one of the following holds for a function F with pointer-valued register arg X:
    		//  0. No GC (so an uninitialized spill slot is okay)
    		//  1. GC at entry of F.  GC is precise, but the spills around morestack initialize X's spill slot
    		//  2. Stack growth at entry of F.  Same as GC.
    		//  3. GC occurs within F itself.  This has to be from preemption, and thus GC is conservative.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. src/cmd/dist/test.go

    			&goTest{
    				variant: "runtime:gcstoptheworld2",
    				timeout: 300 * time.Second,
    				short:   true,
    				env:     []string{"GODEBUG=gcstoptheworld=2"},
    				pkg:     "archive/zip",
    			})
    	}
    
    	// morestack tests. We only run these in long-test mode
    	// (with GO_TEST_SHORT=0) because the runtime test is
    	// already quite long and mayMoreStackMove makes it about
    	// twice as slow.
    	if !t.compileOnly && !t.short {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top