Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for lchflags (0.14 sec)

  1. src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt

    [!GOOS:darwin] skip
    [!cgo] skip
    
    ! go build
    stderr 'invalid flag in #cgo LDFLAGS: -lto_library'
    
    -- go.mod --
    module ldflag
    
    -- main.go --
    package main
    
    // #cgo CFLAGS: -flto
    // #cgo LDFLAGS: -lto_library bad.dylib
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:41:16 UTC 2024
    - 241 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt

    [!GOOS:linux] skip
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    go build -ldflags='-linkmode=internal'
    exec ./abitest
    stdout success
    
    go build -buildmode=pie -o abitest.pie -ldflags='-linkmode=internal'
    exec ./abitest.pie
    stdout success
    
    -- go.mod --
    module abitest
    
    -- abitest.go --
    package main
    
    /*
    #cgo CFLAGS: -Os
    
    int foo_fpr() {
            asm volatile("":::"fr31","fr30","fr29","fr28");
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testerrors/errors_test.go

    }
    
    func TestToleratesOptimizationFlag(t *testing.T) {
    	for _, cflags := range []string{
    		"",
    		"-O",
    	} {
    		cflags := cflags
    		t.Run(cflags, func(t *testing.T) {
    			testenv.MustHaveGoBuild(t)
    			testenv.MustHaveCGO(t)
    			t.Parallel()
    
    			cmd := exec.Command("go", "build", path("issue14669.go"))
    			cmd.Env = append(os.Environ(), "CGO_CFLAGS="+cflags)
    			out, err := cmd.CombinedOutput()
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/runtime/defs_freebsd_386.go

    	mc_fpformat      uint32
    	mc_ownedfp       uint32
    	mc_flags         uint32
    	mc_fpstate       [128]uint32
    	mc_fsbase        uint32
    	mc_gsbase        uint32
    	mc_xfpustate     uint32
    	mc_xfpustate_len uint32
    	mc_spare2        [4]uint32
    }
    
    type ucontext struct {
    	uc_sigmask  sigset
    	uc_mcontext mcontext
    	uc_link     *ucontext
    	uc_stack    stackt
    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/runtime/defs_freebsd_riscv64.go

    	fp_flags int32
    	pad      int32
    }
    
    type mcontext struct {
    	mc_gpregs gpregs
    	mc_fpregs fpregs
    	mc_flags  int32
    	mc_pad    int32
    	mc_spare  [8]uint64
    }
    
    type ucontext struct {
    	uc_sigmask  sigset
    	uc_mcontext mcontext
    	uc_link     *ucontext
    	uc_stack    stackt
    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    			// build C code (if any) and link with Go code
    			cmd, err := cc(config.cFlags...)
    			if err != nil {
    				t.Fatalf("error running cc: %v", err)
    			}
    			cmd.Args = append(cmd.Args, config.ldFlags...)
    			cmd.Args = append(cmd.Args, "-o", outPath, "-I", dir.Base())
    			if tc.cSrc != "" {
    				cmd.Args = append(cmd.Args, srcPath(tc.cSrc))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/runtime/defs_freebsd_arm64.go

    	fp_flags int32
    	fp_pad   int32
    }
    
    type mcontext struct {
    	mc_gpregs gpregs
    	mc_fpregs fpregs
    	mc_flags  int32
    	mc_pad    int32
    	mc_spare  [8]uint64
    }
    
    type ucontext struct {
    	uc_sigmask  sigset
    	uc_mcontext mcontext
    	uc_link     *ucontext
    	uc_stack    stackt
    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/defs_freebsd_amd64.go

    	mc_r12           uint64
    	mc_r13           uint64
    	mc_r14           uint64
    	mc_r15           uint64
    	mc_trapno        uint32
    	mc_fs            uint16
    	mc_gs            uint16
    	mc_addr          uint64
    	mc_flags         uint32
    	mc_es            uint16
    	mc_ds            uint16
    	mc_err           uint64
    	mc_rip           uint64
    	mc_cs            uint64
    	mc_rflags        uint64
    	mc_rsp           uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/runtime/runtime-lldb_test.go

    		t.Fatalf("failed to create mod file: %v", err)
    	}
    
    	// As of 2018-07-17, lldb doesn't support compressed DWARF, so
    	// disable it for this test.
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-gcflags=all=-N -l", "-ldflags=-compressdwarf=false", "-o", "a.exe")
    	cmd.Dir = dir
    	cmd.Env = append(os.Environ(), "GOPATH=") // issue 31100
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("building source %v\n%s", err, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_runtime_gcflags.txt

    [short] skip # rebuilds all of std
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Verify the standard library (specifically internal/runtime/atomic) can be
    # built with -gcflags when -n is given. See golang.org/issue/29346.
    go build -n -gcflags=all='-l' std
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 00:18:30 UTC 2024
    - 349 bytes
    - Viewed (0)
Back to top