Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for unwinder (0.13 sec)

  1. src/runtime/asm_wasm.s

    #endif
    	CALLNORESUME runtime·osinit(SB)
    	CALLNORESUME runtime·schedinit(SB)
    	MOVD $runtime·mainPC(SB), 0(SP)
    	CALLNORESUME runtime·newproc(SB)
    	CALL runtime·mstart(SB) // WebAssembly stack will unwind when switching to another goroutine
    	UNDEF
    
    TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0
    	CALL	runtime·mstart0(SB)
    	RET // not reached
    
    DATA  runtime·mainPC+0(SB)/8,$runtime·main(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. src/runtime/traceback_system_test.go

    		t.Fatalf("child process did not produce a crash report")
    	}
    
    	// Parse the PCs out of the child's crash report.
    	pcs, err := parseStackPCs(crash)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Unwind the stack using this executable's symbol table.
    	got := formatStack(pcs)
    	want := `redacted.go:0: runtime.gopanic
    traceback_system_test.go:85: runtime_test.child7: 	panic("oops")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/runtime/signal_windows.go

    	g0 := getg()
    	if g0 == nil || g0.m.curg == nil {
    		// No g available, nothing to do here.
    		return _EXCEPTION_CONTINUE_SEARCH_SEH
    	}
    	// The Windows SEH machinery will unwind the stack until it finds
    	// a frame with a handler for the exception or until the frame is
    	// outside the stack boundaries, in which case it will call the
    	// UnhandledExceptionFilter. Unfortunately, it doesn't know about
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. src/runtime/runtime-gdb_test.go

    //go:noinline
    func ddd() bool { return f() }
    
    //go:noinline
    func eee() bool { return true }
    
    var f = eee
    
    func main() {
    	_ = aaa()
    }
    `
    
    // TestGdbBacktrace tests that gdb can unwind the stack correctly
    // using only the DWARF debug info.
    func TestGdbBacktrace(t *testing.T) {
    	if runtime.GOOS == "netbsd" {
    		testenv.SkipFlaky(t, 15603)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/runtime/runtime-gdb_unix_test.go

    	if err := syscall.Close(*pipeFD); err != nil {
    		panic(fmt.Sprintf("error closing control pipe fd %d: %v", *pipeFD, err))
    	}
    
    	for {}
    }
    `
    
    // TestGdbCoreSignalBacktrace tests that gdb can unwind the stack correctly
    // through a signal handler in a core file
    func TestGdbCoreSignalBacktrace(t *testing.T) {
    	if runtime.GOOS != "linux" {
    		// N.B. This test isn't fundamentally Linux-only, but it needs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/cgocheck.go

    	s := spanOfUnchecked(uintptr(src))
    	if s.state.get() == mSpanManual {
    		// There are no heap bits for value stored on the stack.
    		// For a channel receive src might be on the stack of some
    		// other goroutine, so we can't unwind the stack even if
    		// we wanted to.
    		// We can't expand the GC program without extra storage
    		// space we can't easily get.
    		// Fortunately we have the type information.
    		systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/runtime/sys_linux_amd64.s

    	MOVL	m_cgoCallersUse(AX), CX
    	TESTL	CX, CX
    	JNZ	sigtramp	// g.m.cgoCallersUse != 0
    
    	// Jump to a function in runtime/cgo.
    	// That function, written in C, will call the user's traceback
    	// function with proper unwind info, and will then call back here.
    	// The first three arguments, and the fifth, are already in registers.
    	// Set the two remaining arguments now.
    	MOVQ	runtime·cgoTraceback(SB), CX
    	MOVQ	$runtime·sigtramp(SB), R9
    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/cmd/go/main.go

    				os.Exit(2)
    			}
    			if !filepath.IsAbs(p) {
    				if cfg.Getenv("GOPATH") == "" {
    					// We inferred $GOPATH from $HOME and did a bad job at it.
    					// Instead of dying, uninfer it.
    					cfg.BuildContext.GOPATH = ""
    				} else {
    					counterErrorsGOPATHEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/security.go

    	re(`-W`),
    	re(`-W([^@,]+)`), // -Wall but not -Wa,-foo.
    	re(`-Wa,-mbig-obj`),
    	re(`-Wp,-D([A-Za-z_][A-Za-z0-9_]*)(=[^@,\-]*)?`),
    	re(`-Wp,-U([A-Za-z_][A-Za-z0-9_]*)`),
    	re(`-ansi`),
    	re(`-f(no-)?asynchronous-unwind-tables`),
    	re(`-f(no-)?blocks`),
    	re(`-f(no-)builtin-[a-zA-Z0-9_]*`),
    	re(`-f(no-)?common`),
    	re(`-f(no-)?constant-cfstrings`),
    	re(`-fdebug-prefix-map=([^@]+)=([^@]+)`),
    	re(`-fdiagnostics-show-note-include-stack`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		gpsp   = gp | buildReg("SP")
    		gpspsb = gpsp | buildReg("SB")
    		// The "registers", which are actually local variables, can get clobbered
    		// if we're switching goroutines, because it unwinds the WebAssembly stack.
    		callerSave = gp | fp32 | fp64 | buildReg("g")
    	)
    
    	// Common regInfo
    	var (
    		gp01      = regInfo{inputs: nil, outputs: []regMask{gp}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top