Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for debugCallCheck (0.15 sec)

  1. src/runtime/debugcall.go

    	debugCallUnsafePoint = "call not at safe point"
    )
    
    func debugCallV2()
    func debugCallPanicked(val any)
    
    // debugCallCheck checks whether it is safe to inject a debugger
    // function call with return PC pc. If not, it returns a string
    // explaining why.
    //
    //go:nosplit
    func debugCallCheck(pc uintptr) string {
    	// No user calls from the system stack.
    	if getg() != getg().m.curg {
    		return debugCallSystemStack
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/runtime/asm_arm64.s

    	LDP	(4*8)(RSP), (R0, R1)
    
    	LDP	-8(RSP), (R29, R27)
    	ADD	$288, RSP, RSP // Add 16 more bytes, see saveSigContext
    	MOVD	-16(RSP), R30 // restore old lr
    	JMP	(R27)
    
    // runtime.debugCallCheck assumes that functions defined with the
    // DEBUG_CALL_FN macro are safe points to inject calls.
    #define DEBUG_CALL_FN(NAME,MAXSIZE)		\
    TEXT NAME(SB),WRAPPER,$MAXSIZE-0;		\
    	NO_LOCAL_POINTERS;		\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  3. src/runtime/asm_amd64.s

    	MOVQ	r10-(9*8+8)(SP), R10
    	MOVQ	r11-(10*8+8)(SP), R11
    	MOVQ	r12-(11*8+8)(SP), R12
    	MOVQ	r13-(12*8+8)(SP), R13
    	MOVQ	r14-(13*8+8)(SP), R14
    	MOVQ	r15-(14*8+8)(SP), R15
    
    	RET
    
    // runtime.debugCallCheck assumes that functions defined with the
    // DEBUG_CALL_FN macro are safe points to inject calls.
    #define DEBUG_CALL_FN(NAME,MAXSIZE)		\
    TEXT NAME(SB),WRAPPER,$MAXSIZE-0;		\
    	NO_LOCAL_POINTERS;			\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top