- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for cgoCallers (0.17 sec)
-
src/runtime/cgo/gcc_traceback.c
void x_cgo_callers(uintptr_t sig, void *info, void *context, void (*cgoTraceback)(struct cgoTracebackArg*), uintptr_t* cgoCallers, void (*sigtramp)(uintptr_t, void*, void*)) { struct cgoTracebackArg arg; arg.Context = 0; arg.SigContext = (uintptr_t)(context); arg.Buf = cgoCallers; arg.Max = 32; // must match len(runtime.cgoCallers) #if __has_feature(memory_sanitizer) // This function is called directly from the signal handler.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 20:11:59 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/traceback.go
// in the middle of our copy. gp.m.cgoCallersUse.Store(1) cgoCallers := *gp.m.cgoCallers gp.m.cgoCallers[0] = 0 gp.m.cgoCallersUse.Store(0) printCgoTraceback(&cgoCallers) } if readgstatus(gp)&^_Gscan == _Gsyscall { // Override registers if blocked in system call. pc = gp.syscallpc sp = gp.syscallsp flags &^= unwindTrap }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/cgocall.go
// Length must match arg.Max in x_cgo_callers in runtime/cgo/gcc_traceback.c. type cgoCallers [32]uintptr // argset matches runtime/cgo/linux_syscall.c:argset_t type argset struct { args unsafe.Pointer retval uintptr } // wrapper for syscall package to call cgocall for libc (cgo) calls. // //go:linkname syscall_cgocaller syscall.cgocaller //go:nosplit //go:uintptrescapes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/runtime/runtime2.go
traceback uint8 ncgocall uint64 // number of cgo calls in total ncgo int32 // number of cgo calls currently in progress cgoCallersUse atomic.Uint32 // if non-zero, cgoCallers in use temporarily cgoCallers *cgoCallers // cgo traceback if crashing in cgo call park note alllink *m // on allm schedlink muintptr lockedg guintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/sys_freebsd_amd64.s
TESTQ CX, CX JZ sigtramp // g.m.curg == nil MOVQ g_syscallsp(CX), CX TESTQ CX, CX JZ sigtramp // g.m.curg.syscallsp == 0 MOVQ m_cgoCallers(AX), R8 TESTQ R8, R8 JZ sigtramp // g.m.cgoCallers == nil 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 12.7K bytes - Viewed (0) -
src/runtime/sys_linux_amd64.s
TESTQ CX, CX JZ sigtramp // g.m.curg == nil MOVQ g_syscallsp(CX), CX TESTQ CX, CX JZ sigtramp // g.m.curg.syscallsp == 0 MOVQ m_cgoCallers(AX), R8 TESTQ R8, R8 JZ sigtramp // g.m.cgoCallers == nil 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 15.7K bytes - Viewed (0) -
src/runtime/proc.go
// cgoCallers. We are running in a signal handler // with all signals blocked, so we don't have to worry // about any other code interrupting us. if mp.cgoCallersUse.Load() == 0 && mp.cgoCallers != nil && mp.cgoCallers[0] != 0 { for cgoOff < len(mp.cgoCallers) && mp.cgoCallers[cgoOff] != 0 { cgoOff++ } n += copy(stk[:], mp.cgoCallers[:cgoOff]) mp.cgoCallers[0] = 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/runtime/sys_linux_ppc64x.s
MOVD g_syscallsp(R7), R7 CMP $0, R7 BEQ sigtramp // g.m.curg.syscallsp == 0 MOVD m_cgoCallers(R6), R7 // R7 is the fifth arg in C calling convention. CMP $0, R7 BEQ sigtramp // g.m.cgoCallers == nil MOVW m_cgoCallersUse(R6), R8 CMPW $0, R8 BNE sigtramp // g.m.cgoCallersUse != 0 // Jump to a function in runtime/cgo. // That function, written in C, will call the user's traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 18.1K bytes - Viewed (0) -
src/runtime/sys_linux_arm64.s
CBZ R8, sigtramp // g.m.curg == nil MOVD g_syscallsp(R8), R7 CBZ R7, sigtramp // g.m.curg.syscallsp == 0 MOVD m_cgoCallers(R6), R4 // R4 is the fifth arg in C calling convention. CBZ R4, sigtramp // g.m.cgoCallers == nil MOVW m_cgoCallersUse(R6), R8 CBNZW R8, sigtramp // g.m.cgoCallersUse != 0 // Jump to a function in runtime/cgo. // That function, written in C, will call the user's traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 16.7K bytes - Viewed (0) -
src/runtime/sys_darwin_amd64.s
TESTQ CX, CX JZ sigtramp // g.m.curg == nil MOVQ g_syscallsp(CX), CX TESTQ CX, CX JZ sigtramp // g.m.curg.syscallsp == 0 MOVQ m_cgoCallers(AX), R8 TESTQ R8, R8 JZ sigtramp // g.m.cgoCallers == nil 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 19.7K bytes - Viewed (0)