runtime.g.stktopsp (field)
9 uses
runtime (current package)
proc.go#L1908: gp.stktopsp = gp.sched.sp
proc.go#L4064: newg.stktopsp = sp
runtime2.go#L422: stktopsp uintptr // expected sp at top of stack, to check in traceback
signal_unix.go#L451: g.m.gsignal.stktopsp = getcallersp()
signal_unix.go#L1191: old.stktopsp = g.m.gsignal.stktopsp
signal_unix.go#L1209: gp.stktopsp = st.stktopsp
stack.go#L905: gp.stktopsp += adjinfo.delta
traceback.go#L552: if callback != nil && n < max && frame.sp != gp.stktopsp {
traceback.go#L553: print("runtime: g", gp.goid, ": frame.sp=", hex(frame.sp), " top=", hex(gp.stktopsp), "\n")
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |