Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for unwinding (0.17 sec)

  1. src/cmd/compile/internal/wasm/ssa.go

       Threads:
    
       Wasm doesn't (yet) have threads. We have to simulate threads by
       keeping goroutine stacks in linear memory and unwinding
       the Wasm stack each time we want to switch goroutines.
    
       To support unwinding a stack, each function call returns on the Wasm
       stack a boolean that tells the function whether it should return
       immediately or not. When returning immediately, a return address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/cgocall.go

    // Then it calls _cgoexp_GoF(frame).
    //
    // _cgoexp_GoF, which was generated by cmd/cgo, unpacks the arguments
    // from frame, calls p.GoF, writes the results back to frame, and
    // returns. Now we start unwinding this whole process.
    //
    // runtime.cgocallbackg pops but does not execute the deferred
    // function to unwind m.g0.sched.sp, calls runtime.entersyscall, and
    // returns to runtime.cgocallback.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_arm.s

    	BNE	store64loop
    
    	DMB	MB_ISH
    	RET
    
    // The following functions all panic if their address argument isn't
    // 8-byte aligned. Since we're calling back into Go code to do this,
    // we have to cooperate with stack unwinding. In the normal case, the
    // functions tail-call into the appropriate implementation, which
    // means they must not open a frame. Hence, when they go down the
    // panic path, at that point they push the LR to create a real frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/runtime/signal_windows_test.go

    		t.Fatalf("failure while running executable: %s\n%s", err, out)
    	}
    	var expectedOutput string
    	if runtime.GOARCH == "arm64" || runtime.GOARCH == "arm" {
    		// TODO: remove when windows/arm64 and windows/arm support SEH stack unwinding.
    		expectedOutput = "exceptionCount: 1\ncontinueCount: 1\nunhandledCount: 0\n"
    	} else {
    		expectedOutput = "exceptionCount: 1\ncontinueCount: 1\nunhandledCount: 1\n"
    	}
    	// cleaning output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. src/runtime/rand.go

    }
    
    // cheaprand is a non-cryptographic-quality 32-bit random generator
    // suitable for calling at very high frequency (such as during scheduling decisions)
    // and at sensitive moments in the runtime (such as during stack unwinding).
    // it is "cheap" in the sense of both expense and quality.
    //
    // cheaprand must not be exported to other packages:
    // the rule is that other packages using runtime-provided
    // randomness must always use rand.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    	//
    	// If neither unwindPrintErrors or unwindSilentErrors are set, unwinding
    	// performs extra consistency checks and throws on any error.
    	//
    	// Note that there are a small number of fatal situations that will throw
    	// regardless of unwindPrintErrors or unwindSilentErrors.
    	unwindPrintErrors unwindFlags = 1 << iota
    
    	// unwindSilentErrors silently ignores errors during unwinding.
    	unwindSilentErrors
    
    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/runtime/sys_linux_amd64.s

    	MOVQ	runtime·cgoTraceback(SB), CX
    	MOVQ	$runtime·sigprofCallers(SB), R8
    	MOVQ	$runtime·sigprofNonGoWrapper<>(SB), R9
    	MOVQ	_cgo_callers(SB), AX
    	JMP	AX
    
    // For cgo unwinding to work, this function must look precisely like
    // the one in glibc. The glibc source code is:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/runtime/crash_unix_test.go

    		t.Fatalf("want %d user stack frames in %s and %d system stack frames in %s, got %d and %d:\n%s", 2, userFunc, 2, sysFunc, nUser, nSys, string(tb))
    	}
    
    	// Traceback should not contain "unexpected SPWRITE" when
    	// unwinding the system stacks.
    	if bytes.Contains(tb, []byte("unexpected SPWRITE")) {
    		t.Errorf("unexpected \"unexpected SPWRITE\" in traceback:\n%s", tb)
    	}
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/wasm/wasmobj.go

    				// trying to unwind WebAssembly stack but call has no resume point, terminate with error
    				p = appendp(p, AIf)
    				p = appendp(p, obj.AUNDEF)
    				p = appendp(p, AEnd)
    			} else {
    				// unwinding WebAssembly stack to switch goroutine, return 1
    				p = appendp(p, ABrIf)
    				unwindExitBranches = append(unwindExitBranches, p)
    			}
    
    		case obj.ARET, ARETUNWIND:
    			ret := *p
    			p.As = obj.ANOP
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_386.s

    	MOVL	di-16(SP), DI
    	MOVL	si-12(SP), SI
    	MOVL	bp-8(SP),  BP
    	MOVL	bx-4(SP),  BX
    	RET
    
    TEXT runtime·cgoSigtramp(SB),NOSPLIT,$0
    	JMP	runtime·sigtramp(SB)
    
    // For cgo unwinding to work, this function must look precisely like
    // the one in glibc. The glibc source code is:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top