Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for unwinder (0.18 sec)

  1. src/runtime/asm_386.s

    	// The next few lines (after the havem label)
    	// will save this SP onto the stack and then write
    	// the same SP back to m->sched.sp. That seems redundant,
    	// but if an unrecovered panic happens, unwindm will
    	// restore the g->sched.sp from the stack location
    	// and then systemstack will try to use it. If we don't set it here,
    	// that restored SP will be uninitialized (typically 0) and
    	// will not be usable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_386.s

    // The code that cares about the precise instructions used is:
    // https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libgcc/config/i386/linux-unwind.h;h=5486223d60272c73d5103b29ae592d2ee998e1cf#l136
    //
    // For gdb unwinding to work, this function must look precisely like the one in
    // glibc and must be named "__restore_rt" or contain the string "sigaction" in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. src/runtime/crash_cgo_test.go

    	// Test unwinding over a sigpanic in C code without a C
    	// symbolizer. See issue #23576.
    	if runtime.GOOS == "windows" {
    		// On Windows if we get an exception in C code, we let
    		// the Windows exception handler unwind it, rather
    		// than injecting a sigpanic.
    		t.Skip("no sigpanic in C on windows")
    	}
    	if runtime.GOOS == "ios" {
    		testenv.SkipFlaky(t, 59912)
    	}
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  4. src/runtime/sys_darwin_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: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. src/testing/fuzz.go

    		// Detect whether the fuzz test panicked or called runtime.Goexit
    		// without calling F.Fuzz, F.Fail, or F.Skip. If it did, panic (possibly
    		// replacing a nil panic value). Nothing should recover after fRunner
    		// unwinds, so this should crash the process and print stack.
    		// Unfortunately, recovering here adds stack frames, but the location of
    		// the original panic should still be
    		// clear.
    		f.checkRaces()
    		if f.Failed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows_test.go

    		}
    	}()
    	nestedCall(t, func() { panic("callback panic") })
    	panic("nestedCall returned")
    }
    
    func TestCallbackPanic(t *testing.T) {
    	// Make sure panic during callback unwinds properly.
    	if runtime.LockedOSThread() {
    		t.Fatal("locked OS thread on entry to TestCallbackPanic")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	MatchFull []string // full match lines for the IDs, with match markers kept
    }
    
    // &searchFatal is a special panic value to signal that Search failed.
    // This lets us unwind the search recursion on a fatal error
    // but have Search return normally.
    var searchFatal int
    
    // Search runs a bisect search according to the configuration in b.
    // It reports whether any failing change sets were found.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    const (
    	WasmI32 WasmFieldType = iota
    	WasmI64
    	WasmF32
    	WasmF64
    	WasmPtr
    )
    
    type InlMark struct {
    	// When unwinding from an instruction in an inlined body, mark
    	// where we should unwind to.
    	// id records the global inlining id of the inlined body.
    	// p records the location of an instruction in the parent (inliner) frame.
    	p  *Prog
    	id int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/expand_calls.go

    	allResults := []*Value{}
    	oldArgs := []*Value{}
    	argsWithoutMem := v.Args[firstArg : len(v.Args)-1] // Also strip closure/interface Op-specific args
    
    	sp := x.sp
    	if v.Op == OpTailLECall {
    		// For tail call, we unwind the frame before the call so we'll use the caller's
    		// SP.
    		sp = x.f.Entry.NewValue1(src.NoXPos, OpGetCallerSP, x.typs.Uintptr, mem)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  10. src/runtime/signal_unix.go

    	// signal handler at a later time. When the signal handler is called, the
    	// memory may have changed, but the signal context remains old. The
    	// unmatched signal context and memory makes it unsafe to unwind or inspect
    	// the stack. So we ignore delayed non-fatal signals that will cause a stack
    	// inspection (profiling signal and preemption signal).
    	// cgo_yield is only non-nil for TSAN, and is specifically used to trigger
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top