- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for FuncPCABIInternal (0.25 sec)
-
src/internal/abi/funcpc.go
// direct reference of a function defined as ABI0. Otherwise it is a // compile-time error. // // Implemented as a compile intrinsic. func FuncPCABI0(f interface{}) uintptr // FuncPCABIInternal returns the entry PC of the function f. If f is a // direct reference of a function, it must be defined as ABIInternal. // Otherwise it is a compile-time error. If f is not a direct reference
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 27 21:15:37 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/runtime-seh_windows_test.go
// first fix the .pdata generation. sehf1pc := abi.FuncPCABIInternal(sehf1) var fnwithframe func() fnwithframe = func() { fnwithframe() } fnwithoutframe := func() {} tests := []struct { name string pc uintptr hasframe bool }{ {"no frame func", abi.FuncPCABIInternal(sehf2), false}, {"no func", sehf1pc - 1, false}, {"func at entry", sehf1pc, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 16:52:06 UTC 2023 - 4.7K bytes - Viewed (0) -
src/internal/abi/funcpc_gccgo.go
//go:build gccgo package abi import "unsafe" func FuncPCABI0(f interface{}) uintptr { words := (*[2]unsafe.Pointer)(unsafe.Pointer(&f)) return *(*uintptr)(unsafe.Pointer(words[1])) } func FuncPCABIInternal(f interface{}) uintptr { words := (*[2]unsafe.Pointer)(unsafe.Pointer(&f)) return *(*uintptr)(unsafe.Pointer(words[1]))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 27 21:15:37 UTC 2023 - 530 bytes - Viewed (0) -
src/runtime/cpuprof.go
hdr := [1]uint64{p.lostExtra} lostStk := [2]uintptr{ abi.FuncPCABIInternal(_LostExternalCode) + sys.PCQuantum, abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum, } p.log.write(nil, 0, hdr[:], lostStk[:]) p.lostExtra = 0 } if p.lostAtomic > 0 { hdr := [1]uint64{p.lostAtomic} lostStk := [2]uintptr{ abi.FuncPCABIInternal(_LostSIGPROFDuringAtomic64) + sys.PCQuantum,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/signal_ppc64x.go
c.set_link(uint64(pc)) } // In case we are panicking from external C code c.set_r0(0) c.set_r30(uint64(uintptr(unsafe.Pointer(gp)))) c.set_r12(uint64(abi.FuncPCABIInternal(sigpanic))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Push the LR to stack, as we'll clobber it in order to // push the call. The function being pushed is responsible
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 3.7K bytes - Viewed (0) -
src/runtime/os_openbsd.go
//go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = uint32(sigset_all) if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) } sa.sa_sigaction = fn sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/os_aix.go
//go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = sigset_all if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = uintptr(unsafe.Pointer(&sigtramp)) } sa.sa_handler = fn sigaction(uintptr(i), &sa, nil) } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/symtabinl_test.go
"internal/stringslite" "runtime/internal/sys" ) func XTestInlineUnwinder(t TestingT) { if TestenvOptimizationOff() { t.Skip("skipping test with inlining optimizations disabled") } pc1 := abi.FuncPCABIInternal(tiuTest) f := findfunc(pc1) if !f.valid() { t.Fatalf("failed to resolve tiuTest at PC %#x", pc1) } want := map[string]int{ "tiuInlined1:3 tiuTest:10": 0,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 3K bytes - Viewed (0) -
src/runtime/signal_riscv64.go
// Make it look the like faulting PC called sigpanic. c.set_ra(uint64(pc)) } // In case we are panicking from external C code c.set_gp(uint64(uintptr(unsafe.Pointer(gp)))) c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic))) } func (c *sigctxt) pushCall(targetPC, resumePC uintptr) { // Push the LR to stack, as we'll clobber it in order to // push the call. The function being pushed is responsible
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
//go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = sigset_all if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) } sa.sa_sigaction = fn sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K bytes - Viewed (0)