Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 469 for linkers (0.12 sec)

  1. test/linkx_run.go

    	_, err = cmd.CombinedOutput()
    	if err == nil {
    		fmt.Println("-X linker flag should not accept keys without values")
    		os.Exit(1)
    	}
    
    	// Issue 9621
    	cmd = exec.Command("go", "run", "-ldflags=-X main.b=false -X main.x=42", "linkx.go")
    	outx, err := cmd.CombinedOutput()
    	if err == nil {
    		fmt.Println("-X linker flag should not overwrite non-strings")
    		os.Exit(1)
    	}
    	outstr := string(outx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. doc/initial/5-toolchain.md

    ## Compiler {#compiler}
    
    ## Assembler {#assembler}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 74 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_ppc64le_cgo_inline_plt.txt

    # Verify the linker will correctly resolve
    # ppc64le objects compiled with gcc's -fno-plt
    # option. This inlines PLT calls, and generates
    # additional reloc types which the internal linker
    # should handle.
    #
    # Verifies golang.org/issue/53345
    #
    # Note, older gcc/clang may accept this option, but
    # ignore it if binutils does not support the relocs.
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    env CGO_CFLAGS='-fno-plt -O2 -g'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 719 bytes
    - Viewed (0)
  4. doc/next/5-toolchain.md

    ## Assembler {#assembler}
    
    ## Linker {#linker}
    
    <!-- go.dev/issue/67401, CL 585556, CL 587220, and many more -->
    The linker now disallows using a `//go:linkname` directive to refer to
    internal symbols in the standard library (including the runtime) that
    are not marked with `//go:linkname` on their definitions.
    Similarly, the linker disallows references to such symbols from assembly
    code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            1 * queue.setLogLocation(LOG_LOCATION)
            0 * _
        }
    
        def "pass the bundle flag to the linker when linking bundle"() {
            given:
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                "-Xlinker", "-bundle",
                "-o", outputFile.absolutePath,
                testDir.file("one.o").absolutePath].flatten()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/build.gradle

                    cppCompiler.args '-pthread'
                    linker.args '-pthread'
    
                    if (toolChain instanceof Gcc || toolChain instanceof Clang) {
                        // Use C++03 with the old ABIs, as this is what the googletest binaries were built with
                        cppCompiler.args '-std=c++03', '-D_GLIBCXX_USE_CXX11_ABI=0'
                        linker.args '-std=c++03'
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. common/config/.golangci.yml

        - ".*\\.gen\\.go"
      exclude-rules:
        # Exclude some linters from running on test files.
        - path: _test\.go$|^tests/|^samples/
          linters:
            - errcheck
            - maligned
        - path: _test\.go$
          text: "dot-imports: should not use dot imports"
        # We need to use the deprecated module since the jsonpb replacement is not backwards compatible.
        - linters:
            - staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/cmd/link/link_test.go

    }
    
    func TestIndexMismatch(t *testing.T) {
    	// Test that index mismatch will cause a link-time error (not run-time error).
    	// This shouldn't happen with "go build". We invoke the compiler and the linker
    	// manually, and try to "trick" the linker with an inconsistent object file.
    	testenv.MustHaveGoBuild(t)
    	testenv.MustInternalLink(t, false)
    
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  9. hack/golangci-hints.yaml

      # Excluding configuration per-path, per-linter, per-text and per-source
      exclude-rules:
        # exclude ineffassign linter for generated files for conversion
        - path: conversion\.go
          linters:
            - ineffassign
    
        # SSA Extract calls are allowed in tests.
        - linters:
            - forbidigo
          text: should not be used because managedFields was removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    [short] skip
    
    # In the remaining tests below we do actual builds (without -n) to
    # verify that the Go linker is going the right thing in addition to the
    # Go command. Here the idea is to pass "-tmpdir" to the linker, then
    # check after the link is done for the presence of the file
    # <tmpdir>/go.o, which the Go linker creates prior to kicking off the
    # external linker.
    
    mkdir tmp1
    mkdir tmp2
    mkdir tmp3
    mkdir tmp4
    mkdir tmp5
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top