Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for GETCALLERPC (0.25 sec)

  1. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "GetG", argLength: 1, zeroWidth: true}, // runtime.getg() (read g pointer). arg0=mem
    	{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)
  2. src/cmd/compile/internal/ssa/_gen/MIPSOps.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: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.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: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.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: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.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: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/os_windows.go

    	mp := gp.m
    	mp.libcall.fn = uintptr(unsafe.Pointer(fn))
    	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
    	}
    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/runtime/proc.go

    		// the stack, but put it in gp.stack before mstart,
    		// so the logic above hasn't set osStack yet.
    		osStack = true
    	}
    	mexit(osStack)
    }
    
    // The go:noinline is to guarantee the getcallerpc/getcallersp below are safe,
    // so that we can set up g0.sched to return to the call of mstart1 above.
    //
    //go:noinline
    func mstart1() {
    	gp := getg()
    
    	if gp != gp.m.g0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARMOps.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
    - 41K bytes
    - Viewed (0)
Back to top