- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for switchToCrashStack0 (0.15 sec)
-
src/runtime/asm_amd64.s
// Pop BP from the stack to simulate it. POPQ BP JMP DI bad: // Bad: g is not gsignal, not g0, not curg. What is it? MOVQ $runtime·badsystemstack(SB), AX CALL AX INT $3 // func switchToCrashStack0(fn func()) TEXT runtime·switchToCrashStack0<ABIInternal>(SB), NOSPLIT, $0-8 MOVQ g_m(R14), BX // curm // set g to gcrash LEAQ runtime·gcrash(SB), R14 // g = &gcrash
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/runtime/proc.go
// morestack would fail). // //go:nosplit //go:nowritebarrierrec func switchToCrashStack(fn func()) { me := getg() if crashingG.CompareAndSwapNoWB(nil, me) { switchToCrashStack0(fn) // should never return abort() } if crashingG.Load() == me { // recursive crashing. too bad. writeErrStr("fatal: recursive switchToCrashStack\n") abort() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)