Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for cgodata (1.57 sec)

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

    		fmt.Fprintf(os.Stderr, "%s: %s: failed decoding cgo directives: %v\n", os.Args[0], file, err)
    		nerrors++
    		return
    	}
    
    	// Record the directives. We'll process them later after Symbols are created.
    	ctxt.cgodata = append(ctxt.cgodata, cgodata{file, pkg, directives})
    }
    
    // Set symbol attributes or flags based on cgo directives.
    // Any newly discovered HOSTOBJ syms are added to 'hostObjSyms'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    func (ctxt *Link) loadcgodirectives() {
    	l := ctxt.loader
    	hostObjSyms := make(map[loader.Sym]struct{})
    	for _, d := range ctxt.cgodata {
    		setCgoAttr(ctxt, d.file, d.pkg, d.directives, hostObjSyms)
    	}
    	ctxt.cgodata = nil
    
    	if ctxt.LinkMode == LinkInternal {
    		// Drop all the cgo_import_static declarations.
    		// Turns out we won't be needing them.
    		for symIdx := range hostObjSyms {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/cmd/covdata/covdata.go

    	}
    
    	// Edit out command selector, then parse flags.
    	os.Args = append(os.Args[:1], os.Args[2:]...)
    	flag.Usage = func() {
    		op.Usage("")
    	}
    	flag.Parse()
    	telemetry.Inc("covdata/invocations")
    	telemetry.CountFlags("covdata/flag:", *flag.CommandLine)
    
    	// Mode-independent flag setup
    	dbgtrace(1, "starting mode-independent setup")
    	if flag.NArg() != 0 {
    		op.Usage("unknown extra arguments")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/data.go

    		}
    		n++
    	}
    
    	ctxt.xdefine("runtime.rodata", sym.SRODATA, int64(rodata.Vaddr))
    	ctxt.xdefine("runtime.erodata", sym.SRODATA, int64(rodata.Vaddr+rodata.Length))
    	ctxt.xdefine("runtime.types", sym.SRODATA, int64(types.Vaddr))
    	ctxt.xdefine("runtime.etypes", sym.SRODATA, int64(types.Vaddr+types.Length))
    
    	s := ldr.Lookup("runtime.gcdata", 0)
    	ldr.SetAttrLocal(s, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  5. src/cmd/link/internal/ld/symtab.go

    	ctxt.xdefine("runtime.epclntab", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.esymtab", sym.SRODATA, 0)
    
    	// garbage collection symbols
    	s := ldr.CreateSymForUpdate("runtime.gcdata", 0)
    	s.SetType(sym.SRODATA)
    	s.SetSize(0)
    	ctxt.xdefine("runtime.egcdata", sym.SRODATA, 0)
    
    	s = ldr.CreateSymForUpdate("runtime.gcbss", 0)
    	s.SetType(sym.SRODATA)
    	s.SetSize(0)
    	ctxt.xdefine("runtime.egcbss", sym.SRODATA, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  6. src/cmd/covdata/doc.go

    	covmeta.cce1b350af34b6d0fb59cc1725f0ee27
    	$
    
    Run covdata via "go tool covdata <mode>", where 'mode' is a subcommand
    selecting a specific reporting, merging, or data manipulation operation.
    Descriptions on the various modes (run "go tool cover <mode> -help" for
    specifics on usage of a given mode):
    
    1. Report percent of statements covered in each profiled package
    
    	$ go tool covdata percent -i=profiledir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/pcrelative_test.go

    	"path/filepath"
    	"testing"
    )
    
    const asmData = `
    GLOBL zeros<>(SB),8,$64
    TEXT ·testASM(SB),4,$0
    VMOVUPS zeros<>(SB), %s // PC relative relocation is off by 1, for Y8-Y15, Z8-15 and Z24-Z31
    RET
    `
    
    const goData = `
    package main
    
    func testASM()
    
    func main() {
    	testASM()
    }
    `
    
    func objdumpOutput(t *testing.T, mname, source string) []byte {
    	tmpdir, err := os.MkdirTemp("", mname)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 23:16:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s

    DATA	·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
    
    TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
    	CALL	libc_connect(SB)
    	RET
    GLOBL	·libc_connect_trampoline_addr(SB), RODATA, $8
    DATA	·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
    
    TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
    	CALL	libc_socket(SB)
    	RET
    GLOBL	·libc_socket_trampoline_addr(SB), RODATA, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/sym/symkind.go

    	STYPE
    	SSTRING
    	SGOSTRING
    	SGOFUNC
    	SGCBITS
    	SRODATA
    	SFUNCTAB
    
    	SELFROSECT
    
    	// Read-only sections with relocations.
    	//
    	// Types STYPE-SFUNCTAB above are written to the .rodata section by default.
    	// When linking a shared object, some conceptually "read only" types need to
    	// be written to by relocations and putting them in a section called
    	// ".rodata" interacts poorly with the system linkers. The GNU linkers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    		cfg.QPS = -1
    
    		// Combine CAData from the config with any existing CA bundle provided
    		if len(cfg.TLSClientConfig.CAData) > 0 {
    			cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, '\n')
    		}
    		cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, cc.CABundle...)
    
    		cfg.ContentConfig.NegotiatedSerializer = cm.negotiatedSerializer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top