- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for sigpanic0 (0.16 sec)
-
src/runtime/signal_riscv64.go
func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange RA, and pc to pretend the panicking // function calls sigpanic directly. // Always save RA to stack so that panics in leaf // functions are correctly handled. This smashes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/internal/objabi/funcid.go
"mcall": abi.FuncID_mcall, "morestack": abi.FuncID_morestack, "mstart": abi.FuncID_mstart, "panicwrap": abi.FuncID_panicwrap, "runfinq": abi.FuncID_runfinq, "sigpanic": abi.FuncID_sigpanic, "systemstack_switch": abi.FuncID_systemstack_switch, "systemstack": abi.FuncID_systemstack, // Don't show in call stack but otherwise not special.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 21:33:59 UTC 2023 - 1.6K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
} } func TestCgoTracebackSigpanic(t *testing.T) { // 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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_signal_ios_arm64.c
if (ret) { fprintf(stderr, "runtime/cgo: thread_get_state failed: %d\n", ret); abort(); } // Bounce call to sigpanic through asm that makes it look like // we call sigpanic directly from the faulting code. #ifdef __arm64__ thread_state.ts_64.__x[1] = thread_state.ts_64.__lr; thread_state.ts_64.__x[2] = thread_state.ts_64.__pc;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:04:22 UTC 2024 - 6K bytes - Viewed (0) -
src/runtime/callers_test.go
// at runtime.sigpanic, because non-open-coded defers (which may be used in // non-opt or race checker mode) include an extra 'deferreturn' frame (which is // where the nil pointer deref happens). state := 1 want := []string{"runtime.Callers", "runtime_test.TestCallersDeferNilFuncPanic.func1", "runtime.gopanic", "runtime.panicmem", "runtime.sigpanic"} defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/internal/obj/wasm/wasmobj.go
pc++ if p.To.Sym == sigpanic { // The panic stack trace expects the PC at the call of sigpanic, // not the next one. However, runtime.Caller subtracts 1 from the // PC. To make both PC and PC-1 work (have the same line number), // we advance the PC by 2 at sigpanic. pc++ } } } tableIdxs = append(tableIdxs, uint64(numResumePoints))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 34.6K bytes - Viewed (0) -
src/cmd/compile/internal/ir/symtab.go
Raceread *obj.LSym Racereadrange *obj.LSym Racewrite *obj.LSym Racewriterange *obj.LSym TypeAssert *obj.LSym WBZero *obj.LSym WBMove *obj.LSym // Wasm SigPanic *obj.LSym Staticuint64s *obj.LSym Typedmemmove *obj.LSym Udiv *obj.LSym WriteBarrier *obj.LSym Zerobase *obj.LSym ARM64HasATOMICS *obj.LSym ARMHasVFPv4 *obj.LSym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:26 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/stack_test.go
//go:noinline func testDeferLeafSigpanic1() { // Cause a sigpanic to be injected in this frame. // // This function has to be declared before // TestDeferLeafSigpanic so the runtime will crash if we think // this function's continuation PC is in // TestDeferLeafSigpanic. *(*int)(nil) = 0 } // TestDeferLeafSigpanic tests defer matching around leaf functions // that sigpanic. This is tricky because on LR machines the outer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0) -
src/runtime/os_wasm.go
) func osinit() { // https://webassembly.github.io/spec/core/exec/runtime.html#memory-instances physPageSize = 64 * 1024 initBloc() ncpu = 1 getg().m.procid = 2 } const _SIGSEGV = 0xb func sigpanic() { gp := getg() if !canpanic() { throw("unexpected signal during runtime execution") } // js only invokes the exception handler for memory faults. gp.sig = _SIGSEGV panicmem() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/stkframe.go
// and this is the return PC (just after the CALL // instruction). In this case, pc-1 reflects the CALL // instruction itself and is the correct source of symbolic // information. // // - If this frame "called" sigpanic, then pc is the // instruction that panicked, and pc is the correct address // to use for symbolic information. // // - If this is the innermost frame, then PC is where
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0)