Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for debugCallReturn (0.23 sec)

  1. src/runtime/export_debug_arm64_test.go

    	ctxt.set_lr(ctxt.pc() + 4)
    	// Set PC to call and context register.
    	ctxt.set_pc(uint64(h.fv.fn))
    	sigctxtSetContextRegister(ctxt, uint64(uintptr(unsafe.Pointer(h.fv))))
    }
    
    // case 1
    func (h *debugCallHandler) debugCallReturn(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(h.argp, unsafe.Pointer(uintptr(sp)+8), h.argSize)
    	if h.regArgs != nil {
    		loadRegArgs(h.regArgs, ctxt.regs())
    	}
    	// Restore the old lr from *sp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. src/runtime/export_debug_ppc64le_test.go

    	ctxt.set_link(ctxt.pc() + 4)
    	// Set PC to call and context register.
    	ctxt.set_pc(uint64(h.fv.fn))
    	sigctxtSetContextRegister(ctxt, uint64(uintptr(unsafe.Pointer(h.fv))))
    }
    
    // case 1
    func (h *debugCallHandler) debugCallReturn(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	memmove(h.argp, unsafe.Pointer(uintptr(sp)+32), h.argSize)
    	if h.regArgs != nil {
    		loadRegArgs(h.regArgs, ctxt.cregs())
    	}
    	// Restore the old lr from *sp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/runtime/export_debug_test.go

    	case 0:
    		// Frame is ready. Copy the arguments to the frame and to registers.
    		// Call the debug function.
    		h.debugCallRun(ctxt)
    	case 1:
    		// Function returned. Copy frame and result registers back out.
    		h.debugCallReturn(ctxt)
    	case 2:
    		// Function panicked. Copy panic out.
    		h.debugCallPanicOut(ctxt)
    	case 8:
    		// Call isn't safe. Get the reason.
    		h.debugCallUnsafe(ctxt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/runtime/export_debug_amd64_test.go

    	// Set PC to call and context register.
    	ctxt.set_rip(uint64(h.fv.fn))
    	sigctxtSetContextRegister(ctxt, uint64(uintptr(unsafe.Pointer(h.fv))))
    }
    
    // case 1
    func (h *debugCallHandler) debugCallReturn(ctxt *sigctxt) {
    	rsp := ctxt.rsp()
    	memmove(h.argp, unsafe.Pointer(uintptr(rsp)), h.argSize)
    	if h.regArgs != nil {
    		loadRegArgs(h.regArgs, ctxt.regs())
    	}
    }
    
    // case 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top