- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for getfp (0.06 sec)
-
src/runtime/stubs_ppc64x.go
// Spills/loads arguments in registers to/from an internal/abi.RegArgs // respectively. Does not follow the Go ABI. func spillArgs() func unspillArgs() // getfp returns the frame pointer register of its caller or 0 if not implemented. // TODO: Make this a compiler intrinsic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:48:11 UTC 2023 - 688 bytes - Viewed (0) -
src/runtime/testdata/testprog/framepointer_arm64.s
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" TEXT ·getFP(SB), NOSPLIT|NOFRAME, $0-8 MOVD R29, ret+0(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 22:58:13 UTC 2023 - 249 bytes - Viewed (0) -
src/runtime/os_wasm.go
type gsignalStack struct{} const preemptMSupported = false func preemptM(mp *m) { // No threads, so nothing to do. } // getfp returns the frame pointer register of its caller or 0 if not implemented. // TODO: Make this a compiler intrinsic func getfp() uintptr { return 0 } func setProcessCPUProfiler(hz int32) {} func setThreadCPUProfiler(hz int32) {} func sigdisable(uint32) {}
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/testdata/testprog/framepointer_amd64.s
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" TEXT ·getFP(SB), NOSPLIT|NOFRAME, $0-8 MOVQ BP, ret+0(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 22:58:13 UTC 2023 - 248 bytes - Viewed (0) -
src/runtime/tracestack.go
} else if gp != nil { nstk += gcallers(gp, skip, pcBuf[1:]) } } else { // Fast path: Unwind using frame pointers. pcBuf[0] = uintptr(skip) if getg() == gp { nstk += fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf[1:]) } else if gp != nil { // Three cases: // // (1) We're called on the g0 stack through mcall(fn) or systemstack(fn). To // behave like gcallers above, we start unwinding from sched.bp, which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/runtime2.go
// getcallerfp returns the frame pointer of the caller of the caller // of this function. // //go:nosplit //go:noinline func getcallerfp() uintptr { fp := getfp() // This frame's FP. if fp != 0 { fp = *(*uintptr)(unsafe.Pointer(fp)) // The caller's FP. fp = *(*uintptr)(unsafe.Pointer(fp)) // The caller's caller's FP. } return fp
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/export_test.go
// FPCallers works like Callers and uses frame pointer unwinding to populate // pcBuf with the return addresses of the physical frames on the stack. func FPCallers(pcBuf []uintptr) int { return fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf) } const FramePointerEnabled = framepointer_enabled var ( IsPinned = isPinned GetPinCounter = pinnerGetPinCounter ) func SetPinnerLeakPanic(f func()) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/mprof.go
// frame, whereas the saved frame pointer will give us the // caller's return address first (so, not including // saveblockevent) mp.profStack[0] -= 1 } nstk += fpTracebackPCs(unsafe.Pointer(getfp()), mp.profStack[1:]) } else { mp.profStack[1] = gp.m.curg.sched.pc nstk += 1 + fpTracebackPCs(unsafe.Pointer(gp.m.curg.sched.bp), mp.profStack[2:]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/asm_arm64.s
JMP runtime·goPanicSlice3CU<ABIInternal>(SB) TEXT runtime·panicSliceConvert<ABIInternal>(SB),NOSPLIT,$0-16 MOVD R2, R0 MOVD R3, R1 JMP runtime·goPanicSliceConvert<ABIInternal>(SB) TEXT ·getfp<ABIInternal>(SB),NOSPLIT|NOFRAME,$0 MOVD R29, R0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 43.4K bytes - Viewed (0) -
src/runtime/asm_amd64.s
TEXT runtime·retpolineR13(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(13) TEXT runtime·retpolineR14(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(14) TEXT runtime·retpolineR15(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(15) TEXT ·getfp<ABIInternal>(SB),NOSPLIT|NOFRAME,$0 MOVQ BP, AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0)