Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 311 for lchflags (0.23 sec)

  1. src/cmd/go/internal/load/pkg.go

    		appendSetting("-gccgoflags", gccgoflags)
    	}
    	if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" {
    		appendSetting("-gcflags", gcflags)
    	}
    	if ldflags := BuildLdflags.String(); ldflags != "" {
    		// https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
    		// since it can include system paths through various linker flags (notably
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. test/fixedbugs/issue10958.go

    // buildrun -t 10  -gcflags=-d=ssa/insert_resched_checks/on,ssa/check/on
    
    //go:build !nacl && !js && disabled_see_issue_18589
    
    // Copyright 2016 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.
    
    // Test is disabled because it flakes when run in all.bash
    // on some platforms, but is useful standalone to verify
    // that rescheduling checks are working (and we may wish
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/version_gc_sections.txt

    # This test checks that external linking with --gc-sections does not strip version information.
    
    [short] skip
    [!cgo] skip
    [GOOS:aix] skip  # no --gc-sections
    [GOOS:darwin] skip  # no --gc-sections
    
    go build -ldflags='-linkmode=external -extldflags=-Wl,--gc-sections'
    go version hello$GOEXE
    ! stdout 'not a Go executable'
    ! stderr 'not a Go executable'
    
    -- go.mod --
    module hello
    -- hello.go --
    package main
    
    /*
    */
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:17:57 UTC 2023
    - 460 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/linkname.txt

    env GO111MODULE=off
    
    # check for linker name in error message about linker crash
    [!compiler:gc] skip
    ! go build -ldflags=-crash_for_testing x.go
    stderr [\\/]tool[\\/].*[\\/]link
    
    -- x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 219 bytes
    - Viewed (0)
  5. test/fixedbugs/issue20014.go

    // runindir -goexperiment fieldtrack -ldflags -k=main.fieldTrackInfo
    
    // 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.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 21 20:24:34 UTC 2021
    - 246 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue8756/issue8756.go

    // Copyright 2016 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.
    
    package issue8756
    
    /*
    #cgo !darwin LDFLAGS: -lm
    #include <math.h>
    */
    import "C"
    
    func Pow() {
    	C.pow(1, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 269 bytes
    - Viewed (0)
  7. test/fixedbugs/issue30908.go

    // rundir -ldflags -strictdups=2 -w=0
    
    // Copyright 2019 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 !nacl && !js
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 240 bytes
    - Viewed (0)
  8. test/fixedbugs/issue46938.go

    // run -gcflags="-d=checkptr"
    
    // 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.
    
    package main
    
    import (
    	"strings"
    	"unsafe"
    )
    
    func main() {
    	defer func() {
    		err := recover()
    		if err == nil {
    			panic("expected panic")
    		}
    		if got := err.(error).Error(); !strings.Contains(got, "slice bounds out of range") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 25 01:57:42 UTC 2021
    - 584 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go

    //sys	Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
    //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE
    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    //sys	Fchmod(fd int, mode uint32) (err error)
    //sys	Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
    //sys	Fchown(fd int, uid int, gid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cgo_trimpath_macro.txt

    package main
    
    // #cgo CFLAGS: -I../c
    // #include "stdio.h"
    // void printfile();
    import "C"
    
    func main() {
        C.printfile()
        C.fflush(C.stdout)
    }
    -- vendor/v.com/main/foo.c --
    #include "bar.h"
    -- vendor/v.com/c/bar.h --
    #include "stdio.h"
    
    void printfile() {
        printf("%s\n", __FILE__);
    }
    -- main/main.go --
    package main
    
    // #cgo CFLAGS: -I../c
    // #include "stdio.h"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 19:56:37 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top