Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pcdatavalue1 (0.41 sec)

  1. src/runtime/symtabinl.go

    func (u *inlineUnwinder) resolveInternal(pc uintptr) inlineFrame {
    	return inlineFrame{
    		pc: pc,
    		// Conveniently, this returns -1 if there's an error, which is the same
    		// value we use for the outermost frame.
    		index: pcdatavalue1(u.f, abi.PCDATA_InlTreeIndex, pc, false),
    	}
    }
    
    func (uf inlineFrame) valid() bool {
    	return uf.pc != 0
    }
    
    // next returns the frame representing uf's logical caller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/runtime/debugcall.go

    		if pfx := "runtime."; len(name) > len(pfx) && name[:len(pfx)] == pfx {
    			ret = debugCallRuntime
    			return
    		}
    
    		// Check that this isn't an unsafe-point.
    		if pc != f.entry() {
    			pc--
    		}
    		up := pcdatavalue(f, abi.PCDATA_UnsafePoint, pc)
    		if up != abi.UnsafePointSafe {
    			// Not at a safe point.
    			ret = debugCallUnsafePoint
    		}
    	})
    	return ret
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top