Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for unwinder (0.23 sec)

  1. src/runtime/tracestack.go

    		// It may still have an M, if it's locked to some M.
    		mp = gp.lockedm.ptr()
    	}
    	nstk := 1
    	if tracefpunwindoff() || (mp != nil && mp.hasCgoOnStack()) {
    		// Slow path: Unwind using default unwinder. Used when frame pointer
    		// unwinding is unavailable or disabled (tracefpunwindoff), or might
    		// produce incomplete results or crashes (hasCgoOnStack). Note that no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_ppc64x.s

    	MOVD	24(R1), R2
    
    	UNSTACK_AND_RESTORE_GO_TO_HOST_ABI(32)
    	RET
    
    #ifdef GOARCH_ppc64le
    TEXT runtime·cgoSigtramp(SB),NOSPLIT|NOFRAME,$0
    	// The stack unwinder, presumably written in C, may not be able to
    	// handle Go frame correctly. So, this function is NOFRAME, and we
    	// save/restore LR manually, and obey ELFv2 calling conventions.
    	MOVD	LR, R10
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    	Setting N to 0 will report no ancestry information.
    
    	tracefpunwindoff: setting tracefpunwindoff=1 forces the execution tracer to
    	use the runtime's default stack unwinder instead of frame pointer unwinding.
    	This increases tracer overhead, but could be helpful as a workaround or for
    	debugging unexpected regressions caused by frame pointer unwinding.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/runtime/asm_loong64.s

    	// Force SPWRITE. This function doesn't actually write SP,
    	// but it is called with a special calling convention where
    	// the caller doesn't save LR on stack but passes it as a
    	// register (R5), and the unwinder currently doesn't understand.
    	// Make it SPWRITE to stop unwinding. (See issue 54332)
    	MOVV    R3, R3
    
    	MOVV	R0, REGCTXT
    	JMP	runtime·morestack(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. src/runtime/stack.go

    	gp.stack = new
    	gp.stackguard0 = new.lo + stackGuard // NOTE: might clobber a preempt request
    	gp.sched.sp = new.hi - used
    	gp.stktopsp += adjinfo.delta
    
    	// Adjust pointers in the new stack.
    	var u unwinder
    	for u.init(gp, 0); u.valid(); u.next() {
    		adjustframe(&u.frame, &adjinfo)
    	}
    
    	// free old stack
    	if stackPoisonCopy != 0 {
    		fillstack(old, 0xfc)
    	}
    	stackfree(old)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    			// stack trace, and there only the real PCs are printed, not the virtual ones.
    			// So check to see if the implied virtual PC for this PC (obtained from the
    			// unwinder itself) is the next PC in ci.callers. If not, insert it.
    			// The +1 here correspond to the pc-- above: the output of Callers
    			// and therefore the input to CallersFrames is return PCs from the stack;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. src/runtime/panic.go

    	if p.lr == 0 {
    		return false
    	}
    
    	gp := getg()
    	systemstack(func() {
    		var limit uintptr
    		if d := gp._defer; d != nil {
    			limit = d.sp
    		}
    
    		var u unwinder
    		u.initAt(p.lr, uintptr(p.fp), 0, gp, 0)
    		for {
    			if !u.valid() {
    				p.lr = 0
    				return // ok == false
    			}
    
    			// TODO(mdempsky): If we populate u.frame.fn.deferreturn for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/runtime/asm_ppc64x.s

    	// Force SPWRITE. This function doesn't actually write SP,
    	// but it is called with a special calling convention where
    	// the caller doesn't save LR on stack but passes it as a
    	// register (R5), and the unwinder currently doesn't understand.
    	// Make it SPWRITE to stop unwinding. (See issue 54332)
    	// Use OR R0, R1 instead of MOVD R1, R1 as the MOVD instruction
    	// has a special affect on Power8,9,10 by lowering the thread 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/runtime/asm_arm64.s

    	// Force SPWRITE. This function doesn't actually write SP,
    	// but it is called with a special calling convention where
    	// the caller doesn't save LR on stack but passes it as a
    	// register (R3), and the unwinder currently doesn't understand.
    	// Make it SPWRITE to stop unwinding. (See issue 54332)
    	MOVD	RSP, RSP
    
    	MOVW	$0, R26
    	B runtime·morestack(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    		}
    	}
    	return gp.m.lockedExt, gp.m.lockedInt
    }
    
    //go:noinline
    func TracebackSystemstack(stk []uintptr, i int) int {
    	if i == 0 {
    		pc, sp := getcallerpc(), getcallersp()
    		var u unwinder
    		u.initAt(pc, sp, 0, getg(), unwindJumpStack) // Don't ignore errors, for testing
    		return tracebackPCs(&u, 0, stk)
    	}
    	n := 0
    	systemstack(func() {
    		n = TracebackSystemstack(stk, i-1)
    	})
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top