- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 51 for sigpanic0 (0.17 sec)
-
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/sigtab_aix.go
_SIGABRT: {_SigNotify + _SigThrow, "SIGABRT: abort"}, _SIGBUS: {_SigPanic + _SigUnblock, "SIGBUS: bus error"}, _SIGFPE: {_SigPanic + _SigUnblock, "SIGFPE: floating-point exception"}, _SIGKILL: {0, "SIGKILL: kill"}, _SIGUSR1: {_SigNotify, "SIGUSR1: user-defined signal 1"}, _SIGSEGV: {_SigPanic + _SigUnblock, "SIGSEGV: segmentation violation"}, _SIGUSR2: {_SigNotify, "SIGUSR2: user-defined signal 2"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 03 20:58:16 UTC 2018 - 11.3K 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) -
src/cmd/internal/goobj/mkbuiltin.go
abi int } var fextras = [...]extra{ // compiler frontend inserted calls (sysfunc) {"deferproc", 1}, {"deferprocStack", 1}, {"deferreturn", 1}, {"newproc", 1}, {"panicoverflow", 1}, {"sigpanic", 1}, // compiler backend inserted calls {"gcWriteBarrier", 1}, {"duffzero", 1}, {"duffcopy", 1}, // assembler backend inserted calls {"morestack", 0}, // asm function, ABI0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 3.8K bytes - Viewed (0)