- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for set_gp (0.11 sec)
-
src/runtime/signal_riscv64.go
// anyway. sp := c.sp() - goarch.PtrSize c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.ra() pc := gp.sigpc if shouldPushSigpanic(gp, pc, uintptr(c.ra())) { // 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))) }
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/signal_openbsd_riscv64.go
return *(*uint64)(add(unsafe.Pointer(c.info), 2*goarch.PtrSize)) } func (c *sigctxt) set_pc(x uint64) { c.regs().sc_sepc = uintptr(x) } func (c *sigctxt) set_ra(x uint64) { c.regs().sc_ra = uintptr(x) } func (c *sigctxt) set_sp(x uint64) { c.regs().sc_sp = uintptr(x) } func (c *sigctxt) set_gp(x uint64) { c.regs().sc_gp = uintptr(x) } func (c *sigctxt) set_sigcode(x uint32) { c.info.si_code = int32(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/defs_windows_386.go
// 386 does not have link register, so this returns 0. func (c *context) lr() uintptr { return 0 } func (c *context) set_lr(x uintptr) {} func (c *context) set_ip(x uintptr) { c.eip = uint32(x) } func (c *context) set_sp(x uintptr) { c.esp = uint32(x) } // 386 does not have frame pointer register. func (c *context) set_fp(x uintptr) {} func prepareContextForSigResume(c *context) { c.edx = c.esp c.ecx = c.eip }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/defs_windows_arm.go
func (c *context) lr() uintptr { return uintptr(c.lrr) } func (c *context) set_ip(x uintptr) { c.pc = uint32(x) } func (c *context) set_sp(x uintptr) { c.spr = uint32(x) } func (c *context) set_lr(x uintptr) { c.lrr = uint32(x) } // arm does not have frame pointer register. func (c *context) set_fp(x uintptr) {} func prepareContextForSigResume(c *context) { c.r0 = c.spr c.r1 = c.pc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 2.6K bytes - Viewed (0) -
src/runtime/defs_windows_amd64.go
// AMD64 does not have link register, so this returns 0. func (c *context) lr() uintptr { return 0 } func (c *context) set_lr(x uintptr) {} func (c *context) set_ip(x uintptr) { c.rip = uint64(x) } func (c *context) set_sp(x uintptr) { c.rsp = uint64(x) } func (c *context) set_fp(x uintptr) { c.rbp = uint64(x) } func prepareContextForSigResume(c *context) { c.r8 = c.rsp c.r9 = c.rip }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/export_windows_test.go
} type ContextStub struct { context } func (c ContextStub) GetPC() uintptr { return c.ip() } func NewContextStub() *ContextStub { var ctx context ctx.set_ip(getcallerpc()) ctx.set_sp(getcallersp()) ctx.set_fp(getcallerfp()) return &ContextStub{ctx}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:25:00 UTC 2024 - 759 bytes - Viewed (0) -
src/runtime/defs_windows_arm64.go
func (c *context) sp() uintptr { return uintptr(c.xsp) } func (c *context) lr() uintptr { return uintptr(c.x[30]) } func (c *context) set_ip(x uintptr) { c.pc = uint64(x) } func (c *context) set_sp(x uintptr) { c.xsp = uint64(x) } func (c *context) set_lr(x uintptr) { c.x[30] = uint64(x) } func (c *context) set_fp(x uintptr) { c.x[29] = uint64(x) } func prepareContextForSigResume(c *context) { c.x[0] = c.xsp c.x[1] = c.pc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/signal_freebsd_arm64.go
func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) } func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr } func (c *sigctxt) set_pc(x uint64) { c.regs().mc_gpregs.gp_elr = x } func (c *sigctxt) set_sp(x uint64) { c.regs().mc_gpregs.gp_sp = x } func (c *sigctxt) set_lr(x uint64) { c.regs().mc_gpregs.gp_lr = x } func (c *sigctxt) set_r28(x uint64) { c.regs().mc_gpregs.gp_x[28] = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:20:42 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/signal_openbsd_arm64.go
} //go:nosplit //go:nowritebarrierrec func (c *sigctxt) pc() uint64 { return uint64(c.regs().sc_elr) } func (c *sigctxt) set_pc(x uint64) { c.regs().sc_elr = uintptr(x) } func (c *sigctxt) set_sp(x uint64) { c.regs().sc_sp = uintptr(x) } func (c *sigctxt) set_lr(x uint64) { c.regs().sc_lr = uintptr(x) } func (c *sigctxt) set_r28(x uint64) { c.regs().sc_x[28] = uintptr(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:20:42 UTC 2023 - 3.4K bytes - Viewed (0) -
ci/official/utilities/setup.sh
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== # # Common setup for all TF scripts. # # Make as FEW changes to this file as possible. It should not contain utility # functions (except for tfrun); use dedicated scripts instead and reference them
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 26 00:33:34 UTC 2024 - 5.2K bytes - Viewed (0)