Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for GetRpc (0.17 sec)

  1. 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)
  2. src/runtime/signal_mipsx.go

    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint32(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r30(uint32(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint32(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: Thu Oct 28 18:17:57 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  3. src/runtime/tracestack.go

    		skip       = pcBuf[0]
    		// skipOrAdd skips or appends retPC to newPCBuf and returns true if more
    		// pcs can be added.
    		skipOrAdd = func(retPC uintptr) bool {
    			if skip > 0 {
    				skip--
    			} else if n < len(dst) {
    				dst[n] = retPC
    				n++
    			}
    			return n < len(dst)
    		}
    	)
    
    outer:
    	for _, retPC := range pcBuf[1:] {
    		callPC := retPC - 1
    		fi := findfunc(callPC)
    		if !fi.valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/runtime/signal_mips64x.go

    	}
    
    	// In case we are panicking from external C code
    	sigpanicPC := uint64(abi.FuncPCABIInternal(sigpanic))
    	c.set_r28(sigpanicPC >> 32 << 32) // RSB register
    	c.set_r30(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(sigpanicPC)
    }
    
    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: Thu Oct 28 18:17:57 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/export_windows_test.go

    	var info systeminfo
    	stdcall1(_GetSystemInfo, uintptr(unsafe.Pointer(&info)))
    	return int32(info.dwnumberofprocessors)
    }
    
    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)
  6. src/runtime/signal_freebsd_arm.go

    func (c *sigctxt) oldmask() uint32 { return 0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info.si_addr) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[14] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  7. src/runtime/signal_linux_arm.go

    func (c *sigctxt) oldmask() uint32 { return c.regs().oldmask }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().pc = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().sp = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().lr = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().r10 = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/runtime/traceback_system_test.go

    //
    // (Copied from golang.org/x/telemetry/crashmonitor.parseStackPCs.)
    func parseStackPCs(crash string) ([]uintptr, error) {
    	// getPC parses the PC out of a line of the form:
    	//     \tFILE:LINE +0xRELPC sp=... fp=... pc=...
    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/runtime/signal_netbsd_arm.go

    func (c *sigctxt) oldmask() uint32 { return 0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info._code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info._reason) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[_REG_R15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[_REG_R13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[_REG_R14] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  10. src/runtime/os3_plan9.go

    		if pc != 0 {
    			if usesLR {
    				c.setlr(pc)
    			} else {
    				sp -= goarch.PtrSize
    				*(*uintptr)(unsafe.Pointer(sp)) = pc
    				c.setsp(sp)
    			}
    		}
    		if usesLR {
    			c.setpc(abi.FuncPCABI0(sigpanictramp))
    		} else {
    			c.setpc(abi.FuncPCABI0(sigpanic0))
    		}
    		return _NCONT
    	}
    	if flags&_SigNotify != 0 {
    		if ignoredNote(note) {
    			return _NCONT
    		}
    		if sendNote(note) {
    			return _NCONT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top