Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pcdatavalue1 (0.12 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/stkframe.go

    		// Back up to the CALL. If we're at the function entry
    		// point, we want to use the entry map (-1), even if
    		// the first instruction of the function changes the
    		// stack map.
    		targetpc--
    		pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, targetpc)
    	}
    	if pcdata == -1 {
    		// We do not have a valid pcdata value but there might be a
    		// stackmap for this function. It is likely that we are looking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/heapdump.go

    	f := s.fn
    
    	// Figure out what we can about our stack map
    	pc := s.pc
    	pcdata := int32(-1) // Use the entry map at function entry
    	if pc != f.entry() {
    		pc--
    		pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, pc)
    	}
    	if pcdata == -1 {
    		// We do not have a valid pcdata value but there might be a
    		// stackmap for this function. It is likely that we are looking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. 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