Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for unwinder (0.37 sec)

  1. src/runtime/asm_arm.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	R13, R13
    
    	MOVW	$0, R7
    	B runtime·morestack(SB)
    
    // reflectcall: call a function with the given argument list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/cgocall.go

    	cb(frame)
    
    	if raceenabled {
    		racereleasemerge(unsafe.Pointer(&racecgosync))
    	}
    
    	// Do not unwind m->g0->sched.sp.
    	// Our caller, cgocallback, will do that.
    	restore = false
    }
    
    func unwindm(restore *bool) {
    	if *restore {
    		// Restore sp saved by cgocallback during
    		// unwind of g's stack (see comment at top of file).
    		mp := acquirem()
    		sched := &mp.g0.sched
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/pcln.go

    	localIndex, ok := s.globalToLocal[globalIndex]
    	if !ok {
    		// We know where to unwind to when we need to unwind a body identified
    		// by globalIndex. But there may be no instructions generated by that
    		// body (it's empty, or its instructions were CSEd with other things, etc.).
    		// In that case, we don't need an unwind entry.
    		// TODO: is this really right? Seems to happen a whole lot...
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/wasm/wasmobj.go

    			default:
    				panic("bad target for CALL")
    			}
    
    			// return value of call is on the top of the stack, indicating whether to unwind the WebAssembly stack
    			if call.As == ACALLNORESUME && call.To.Sym != sigpanic { // sigpanic unwinds the stack, but it never resumes
    				// trying to unwind WebAssembly stack but call has no resume point, terminate with error
    				p = appendp(p, AIf)
    				p = appendp(p, obj.AUNDEF)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top