Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Funcdata (0.13 sec)

  1. src/debug/gosym/pclntab.go

    	data []byte     // raw memory for the function
    }
    
    // funcData returns the ith funcData in t.functab.
    func (t *LineTable) funcData(i uint32) funcData {
    	data := t.funcdata[t.funcTab().funcOff(int(i)):]
    	return funcData{t: t, data: data}
    }
    
    // IsZero reports whether f is the zero value.
    func (f funcData) IsZero() bool {
    	return f.t == nil && f.data == nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/abi/symtab.go

    // assembly code without an explicit specification).
    // This value is generated by the compiler, assembler, or linker.
    const ArgsSizeUnknown = -0x80000000
    
    // IDs for PCDATA and FUNCDATA tables in Go binaries.
    //
    // These must agree with ../../../runtime/funcdata.h.
    const (
    	PCDATA_UnsafePoint   = 0
    	PCDATA_StackMapIndex = 1
    	PCDATA_InlTreeIndex  = 2
    	PCDATA_ArgLiveIndex  = 3
    
    	FUNCDATA_ArgsPointerMaps    = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/reflect/asm_loong64.s

    // Copyright 2022 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.
    
    #include "textflag.h"
    #include "funcdata.h"
    
    #define	REGCTXT	R29
    
    // The frames of each of the two functions below contain two locals, at offsets
    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/runtime/symtabinl.go

    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname newInlineUnwinder
    func newInlineUnwinder(f funcInfo, pc uintptr) (inlineUnwinder, inlineFrame) {
    	inldata := funcdata(f, abi.FUNCDATA_InlTree)
    	if inldata == nil {
    		return inlineUnwinder{f: f}, inlineFrame{pc: pc, index: -1}
    	}
    	inlTree := (*[1 << 20]inlinedCall)(inldata)
    	u := inlineUnwinder{f: f, inlTree: inlTree}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_arm.s

    // Copyright 2015 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.
    
    #include "go_asm.h"
    #include "textflag.h"
    #include "funcdata.h"
    
    // bool armcas(int32 *val, int32 old, int32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	}else
    //		return 0;
    //
    // To implement ·cas in sys_$GOOS_arm.s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. 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)
Back to top