Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pcdatavalue1 (0.2 sec)

  1. src/runtime/symtab.go

    	return *(*uint32)(add(unsafe.Pointer(&f.nfuncdata), unsafe.Sizeof(f.nfuncdata)+uintptr(table)*4))
    }
    
    func pcdatavalue(f funcInfo, table uint32, targetpc uintptr) int32 {
    	if table >= f.npcdata {
    		return -1
    	}
    	r, _ := pcvalue(f, pcdatastart(f, table), targetpc, true)
    	return r
    }
    
    func pcdatavalue1(f funcInfo, table uint32, targetpc uintptr, strict bool) int32 {
    	if table >= f.npcdata {
    		return -1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. src/runtime/preempt.go

    		// stack for unwinding, not the LR value. But if this is a
    		// call to morestack, we haven't created the frame, and we'll
    		// use the LR for unwinding, which will be bad.
    		return false, 0
    	}
    	up, startpc := pcdatavalue2(f, abi.PCDATA_UnsafePoint, pc)
    	if up == abi.UnsafePointUnsafe {
    		// Unsafe-point marked by compiler. This includes
    		// atomic sequences (e.g., write barrier) and nosplit
    		// functions (except at calls).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    }
    
    var testUintptr uintptr
    
    func MyGenericFunc[T any]() {
    	systemstack(func() {
    		testUintptr = 4
    	})
    }
    
    func UnsafePoint(pc uintptr) bool {
    	fi := findfunc(pc)
    	v := pcdatavalue(fi, abi.PCDATA_UnsafePoint, pc)
    	switch v {
    	case abi.UnsafePointUnsafe:
    		return true
    	case abi.UnsafePointSafe:
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top