Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for funcdata (0.35 sec)

  1. src/runtime/funcdata.h

    // Copyright 2013 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.
    
    // This file defines the IDs for PCDATA and FUNCDATA instructions
    // in Go binaries. It is included by assembly sources, so it must
    // be written using #defines.
    //
    // These must agree with internal/abi/symtab.go.
    
    #define PCDATA_UnsafePoint 0
    #define PCDATA_StackMapIndex 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:28:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    		{"DATA", "0", "expect two operands for DATA"},
    		{"DATA", "(0), 1", "expect /size for DATA argument"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/runtime/tls_riscv64.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 "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // If !iscgo, this is a no-op.
    //
    // NOTE: mcall() assumes this clobbers only X31 (REG_TMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    #ifndef GOOS_openbsd
    	MOVB	runtime·iscgo(SB), X31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 615 bytes
    - Viewed (0)
  6. src/cmd/internal/obj/plist.go

    			case "no_pointers_stackmap":
    				if p.From.Type != TYPE_CONST || p.From.Offset != abi.FUNCDATA_LocalsPointerMaps {
    					ctxt.Diag("%s: FUNCDATA use of no_pointers_stackmap(SB) without FUNCDATA_LocalsPointerMaps", p.Pos)
    				}
    				// funcdata for functions with no local variables in frame.
    				// Define two zero-length bitmaps, because the same index is used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. 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)
  8. src/syscall/asm_linux_amd64.s

    // Copyright 2009 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"
    
    //
    // System calls for AMD64, Linux
    //
    
    #define SYS_gettimeofday 96
    
    // func rawVforkSyscall(trap, a1, a2, a3 uintptr) (r1, err uintptr)
    TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-48
    	MOVQ	a1+8(FP), DI
    	MOVQ	a2+16(FP), SI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/tls_ppc64x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ppc64 || ppc64le
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // We have to resort to TLS variable to save g (R30).
    // One reason is that external code might trigger
    // SIGSEGV, and our runtime.sigtramp don't even know we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top