Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for getcallersp (0.19 sec)

  1. src/cmd/compile/internal/typecheck/builtin.go

    	{"int64tofloat32", funcTag, 138},
    	{"uint64tofloat64", funcTag, 139},
    	{"uint64tofloat32", funcTag, 140},
    	{"uint32tofloat64", funcTag, 141},
    	{"complex128div", funcTag, 142},
    	{"getcallerpc", funcTag, 143},
    	{"getcallersp", funcTag, 143},
    	{"racefuncenter", funcTag, 31},
    	{"racefuncexit", funcTag, 9},
    	{"raceread", funcTag, 31},
    	{"racewrite", funcTag, 31},
    	{"racereadrange", funcTag, 144},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K 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/genericOps.go

    	{name: "GetClosurePtr"},                       // get closure pointer from dedicated register
    	{name: "GetCallerPC"},                         // for getcallerpc intrinsic
    	{name: "GetCallerSP", argLength: 1},           // for getcallersp intrinsic. arg0=mem.
    
    	// Indexing operations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    			panic("nil lockedm on locked goroutine")
    		}
    	}
    	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() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. src/runtime/signal_unix.go

    			// Otherwise, before making a VDSO call we save the g to the
    			// bottom of the signal stack. Fetch from there.
    			// TODO: in efence mode, stack is sysAlloc'd, so this wouldn't
    			// work.
    			sp := getcallersp()
    			s := spanOf(sp)
    			if s != nil && s.state.get() == mSpanManual && s.base() < sp && sp < s.limit {
    				gp := *(**g)(unsafe.Pointer(s.base()))
    				return gp
    			}
    			return nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    //go:nosplit
    //go:linkname entersyscall
    func entersyscall() {
    	// N.B. getcallerfp cannot be written directly as argument in the call
    	// to reentersyscall because it forces spilling the other arguments to
    	// the stack. This results in exceeding the nosplit stack requirements
    	// on some platforms.
    	fp := getcallerfp()
    	reentersyscall(getcallerpc(), getcallersp(), fp)
    }
    
    func entersyscall_sysmon() {
    	lock(&sched.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. src/runtime/os_windows.go

    	resetLibcall := false
    	if mp.profilehz != 0 && mp.libcallsp == 0 {
    		// leave pc/sp for cpu profiler
    		mp.libcallg.set(gp)
    		mp.libcallpc = getcallerpc()
    		// sp must be the last, because once async cpu profiler finds
    		// all three values to be non-zero, it will use them
    		mp.libcallsp = getcallersp()
    		resetLibcall = true // See comment in sys_darwin.go:libcCall
    	}
    	asmcgocall(asmstdcallAddr, unsafe.Pointer(&mp.libcall))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (IsInBounds idx len) => (SGTU len idx)
    (IsSliceInBounds idx len) => (XOR (MOVVconst [1]) (SGTU idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    
    (If cond yes no) => (NE (MOVBUreg <typ.UInt64> cond) yes no)
    
    // Write barrier.
    (WB ...) => (LoweredWB ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (IsInBounds ...) => (Less64U ...)
    (IsSliceInBounds ...) => (Leq64U ...)
    
    // Trivial lowering
    (NilCheck ...) => (LoweredNilCheck ...)
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    
    // Write barrier.
    (WB ...) => (LoweredWB ...)
    
    // Publication barrier as intrinsic
    (PubBarrier ...) => (LoweredPubBarrier ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (IsInBounds idx len) => (SGTU len idx)
    (IsSliceInBounds idx len) => (XOR (MOVVconst [1]) (SGTU idx len))
    
    // pseudo-ops
    (GetClosurePtr ...) => (LoweredGetClosurePtr ...)
    (GetCallerSP ...) => (LoweredGetCallerSP ...)
    (GetCallerPC ...) => (LoweredGetCallerPC ...)
    
    (If cond yes no) => (NE cond yes no)
    
    // Write barrier.
    (WB ...) => (LoweredWB ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
Back to top