Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for funcdata (0.45 sec)

  1. src/cmd/link/internal/ld/pcln.go

    			}
    		}
    
    		// Write funcdata refs as offsets from go:func.* and go:funcrel.*.
    		funcdata = funcData(ldr, s, fi, inlSyms[s], funcdata)
    		// Missing funcdata will be ^0. See runtime/symtab.go:funcdata.
    		off = int64(startLocations[i] + funcSize + numPCData(ldr, s, fi)*4)
    		for j := range funcdata {
    			dataoff := off + int64(4*j)
    			fdsym := funcdata[j]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. src/runtime/stkframe.go

    	switch goarch.ArchFamily {
    	case goarch.ARM64:
    		minsize = sys.StackAlign
    	default:
    		minsize = sys.MinFrameSize
    	}
    	if size > minsize {
    		stackid := pcdata
    		stkmap := (*stackmap)(funcdata(f, abi.FUNCDATA_LocalsPointerMaps))
    		if stkmap == nil || stkmap.n <= 0 {
    			print("runtime: frame ", funcname(f), " untyped locals ", hex(frame.varp-size), "+", hex(size), "\n")
    			throw("missing stackmap")
    		}
    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/cmd/internal/obj/objfile.go

    // return the number of aux symbols s have.
    func nAuxSym(s *LSym) int {
    	n := 0
    	if s.Gotype != nil {
    		n++
    	}
    	if fn := s.Func(); fn != nil {
    		// FuncInfo is an aux symbol, each Funcdata is an aux symbol
    		n += 1 + len(fn.Pcln.Funcdata)
    		if fn.dwarfInfoSym != nil && fn.dwarfInfoSym.Size != 0 {
    			n++
    		}
    		if fn.dwarfLocSym != nil && fn.dwarfLocSym.Size != 0 {
    			n++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    	p.append(prog, "", true)
    }
    
    // asmFuncData assembles a FUNCDATA pseudo-op.
    // FUNCDATA $1, funcdata<>+4(SB)
    func (p *Parser) asmFuncData(operands [][]lex.Token) {
    	if len(operands) != 2 {
    		p.errorf("expect two operands for FUNCDATA")
    		return
    	}
    
    	// Operand 0 must be an immediate constant.
    	valueAddr := p.address(operands[0])
    	if !p.validImmediate("FUNCDATA", &valueAddr) {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	//
    	// pcdata [npcdata]uint32
    
    	// funcdata contains the offset past moduledata.gofunc which contains a
    	// pointer to that index's funcdata. e.g.,
    	// *(moduledata.gofunc +  _func.funcdata[_FUNCDATA_ArgsPointerMaps]) is
    	// the argument pointer map.
    	//
    	// An offset of ^uint32(0) indicates that there is no entry.
    	//
    	// funcdata [nfuncdata]uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/runtime/symtab.go

    }
    
    // funcdata returns a pointer to the ith funcdata for f.
    // funcdata should be kept in sync with cmd/link:writeFuncs.
    func funcdata(f funcInfo, i uint8) unsafe.Pointer {
    	if i < 0 || i >= f.nfuncdata {
    		return nil
    	}
    	base := f.datap.gofunc // load gofunc address early so that we calculate during cache misses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. src/runtime/heapdump.go

    		// stackmap for this function. It is likely that we are looking
    		// at the function prologue, assume so and hope for the best.
    		pcdata = 0
    	}
    	stkmap := (*stackmap)(funcdata(f, abi.FUNCDATA_LocalsPointerMaps))
    
    	var bv bitvector
    	if stkmap != nil && stkmap.n > 0 {
    		bv = stackmapdata(stkmap, pcdata)
    	} else {
    		bv.n = -1
    	}
    
    	// Dump main body of stack frame.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    				fmt.Fprintf(w, "def %s %s\n", name, abi)
    			}
    		}
    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    		// For DATA, operands[0] is defined symbol.
    		// For FUNCDATA, operands[0] is an immediate constant.
    		// Remaining operands may have references.
    		if len(operands) < 2 {
    			return
    		}
    		operands = operands[1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/runtime/tracestack.go

    // returns pc.
    func startPCForTrace(pc uintptr) uintptr {
    	f := findfunc(pc)
    	if !f.valid() {
    		return pc // may happen for locked g in extra M since its pc is 0.
    	}
    	w := funcdata(f, abi.FUNCDATA_WrapInfo)
    	if w == nil {
    		return pc // not a wrapper
    	}
    	return f.datap.textAddr(*(*uint32)(w))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/runtime/race_s390x.s

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race
    
    #include "go_asm.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // The following thunks allow calling the gcc-compiled race runtime directly
    // from Go code without going all the way through cgo.
    // First, it's much faster (up to 50% speedup for real Go programs).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top