Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for unwinder (0.19 sec)

  1. src/runtime/traceback.go

    	calleeFuncID abi.FuncID
    
    	// flags are the flags to this unwind. Some of these are updated as we
    	// unwind (see the flags documentation).
    	flags unwindFlags
    }
    
    // init initializes u to start unwinding gp's stack and positions the
    // iterator on gp's innermost frame. gp must not be the current G.
    //
    // A single unwinder can be reused for multiple unwinds.
    func (u *unwinder) init(gp *g, flags unwindFlags) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/runtime/symtabinl.go

    	// the outermost function.
    	index int32
    }
    
    // newInlineUnwinder creates an inlineUnwinder initially set to the inner-most
    // inlined frame at PC. PC should be a "call PC" (not a "return PC").
    //
    // This unwinder uses non-strict handling of PC because it's assumed this is
    // only ever used for symbolic debugging. If things go really wrong, it'll just
    // fall back to the outermost frame.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/mprof.go

    		prof.stack[2] = 0
    		return
    	}
    
    	var nstk int
    	gp := getg()
    	sp := getcallersp()
    	pc := getcallerpc()
    	systemstack(func() {
    		var u unwinder
    		u.initAt(pc, sp, 0, gp, unwindSilentErrors|unwindJumpStack)
    		nstk = 1 + tracebackPCs(&u, skip, prof.stack[1:])
    	})
    	if nstk < len(prof.stack) {
    		prof.stack[nstk] = 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/asm_mipsx.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)
    	MOVW	R29, R29
    
    	MOVW	R0, REGCTXT
    	JMP	runtime·morestack(SB)
    
    // reflectcall: call a function with the given argument list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top