Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MustInternalLinkPIE (0.24 sec)

  1. src/internal/testenv/testenv.go

    		}
    		t.Skipf("skipping test: internal linking on %s/%s is not supported", runtime.GOOS, runtime.GOARCH)
    	}
    }
    
    // MustInternalLinkPIE checks whether the current system can link PIE binary using
    // internal linking.
    // If not, MustInternalLinkPIE calls t.Skip with an explanation.
    func MustInternalLinkPIE(t testing.TB) {
    	if !platform.InternalLinkPIESupported(runtime.GOOS, runtime.GOARCH) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf_test.go

    				testenv.MustHaveCGO(t)
    			}
    			if test.mustHaveBuildModePIE {
    				testenv.MustHaveBuildMode(t, "pie")
    			}
    			if test.mustHaveBuildModePIE && test.mustInternalLink {
    				testenv.MustInternalLinkPIE(t)
    			}
    
    			var (
    				dir     = t.TempDir()
    				src     = filepath.Join(dir, fmt.Sprintf("elf_%s.go", test.name))
    				binFile = filepath.Join(dir, test.name)
    			)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top