Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getcallersp (0.66 sec)

  1. src/runtime/mprof.go

    		prof.stack[1] = abi.FuncPCABIInternal(_LostContendedRuntimeLock) + sys.PCQuantum
    		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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/runtime/traceback.go

    	traceback1(pc, sp, lr, gp, 0)
    }
    
    // tracebacktrap is like traceback but expects that the PC and SP were obtained
    // from a trap, not from gp->sched or gp->syscallpc/gp->syscallsp or getcallerpc/getcallersp.
    // Because they are from a trap instead of from a saved pair,
    // the initial PC must not be rewound to the previous instruction.
    // (All the saved pairs record a PC that is a return address, so we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (ClosureCall ...) => (CALLclosure ...)
    (InterCall ...) => (CALLinter ...)
    (TailCall ...) => (CALLtail ...)
    
    // Miscellaneous
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    (IsNonNil ptr) => (NotEqual (CMPconst [0] ptr))
    (IsInBounds idx len) => (LessThan (CMPU idx len))
    (IsSliceInBounds idx len) => (LessEqual (CMPU idx len))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (NilCheck ...) => (LoweredNilCheck ...)
    (GetG ...) => (LoweredGetG ...)
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    (Addr {sym} base) => (MOVDaddr {sym} base)
    (LocalAddr <t> {sym} base mem) && t.Elem().HasPointers() => (MOVDaddr {sym} (SPanchored base mem))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (IsInBounds idx len) => (LessThanU (CMP idx len))
    (IsSliceInBounds idx len) => (LessEqualU (CMP idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    
    // Absorb pseudo-ops into blocks.
    (If (Equal cc) yes no) => (EQ cc yes no)
    (If (NotEqual cc) yes no) => (NE cc yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (GetG mem) && v.Block.Func.OwnAux.Fn.ABI() != obj.ABIInternal => (LoweredGetG mem) // only lower in old ABI. in new ABI we have a G register.
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    
    (HasCPUFeature {s}) => (SETNE (CMPLconst [0] (LoweredHasCPUFeature {s})))
    (Addr {sym} base) => (LEAQ {sym} base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. src/runtime/map.go

    // NOTE: The returned pointer may keep the whole map live, so don't
    // hold onto it for very long.
    func mapaccess1(t *maptype, h *hmap, key unsafe.Pointer) unsafe.Pointer {
    	if raceenabled && h != nil {
    		callerpc := getcallerpc()
    		pc := abi.FuncPCABIInternal(mapaccess1)
    		racereadpc(unsafe.Pointer(h), callerpc, pc)
    		raceReadObjectPC(t.Key, key, callerpc, pc)
    	}
    	if msanenabled && h != nil {
    		msanread(key, t.Key.Size_)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "LoweredGetCallerSP", argLength: 1, reg: gp01, rematerializeable: true},
    		// LoweredGetCallerPC evaluates to the PC to which its "caller" will return.
    		// I.e., if f calls g "calls" getcallerpc,
    		// the result should be the PC within f that g will return to.
    		// See runtime/stubs.go for a more detailed discussion.
    		{name: "LoweredGetCallerPC", reg: gp01, rematerializeable: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "LoweredGetCallerSP", argLength: 1, reg: gp01, rematerializeable: true},
    
    		// LoweredGetCallerPC evaluates to the PC to which its "caller" will return.
    		// I.e., if f calls g "calls" getcallerpc,
    		// the result should be the PC within f that g will return to.
    		// See runtime/stubs.go for a more detailed discussion.
    		{name: "LoweredGetCallerPC", reg: gp01, rematerializeable: true},
    
    		// Constant flag value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
Back to top