- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for linkTo (0.19 sec)
-
src/cmd/asm/internal/flags/flags.go
Shared = flag.Bool("shared", false, "generate code that can be linked into a shared library") Dynlink = flag.Bool("dynlink", false, "support references to Go symbols defined in other shared libraries") Linkshared = flag.Bool("linkshared", false, "generate code that will be linked against Go shared libraries") AllErrors = flag.Bool("e", false, "no limit on number of errors reported")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 22 19:18:23 GMT 2023 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue29563.go
// 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 cgo && !windows // Issue 29563: internal linker fails on duplicate weak symbols. // No runtime test; just make sure it compiles. package cgotest
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 363 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go
//go:build (ppc64 || ppc64le) && internal package cgotest import "testing" // If gcc is used, and linking internally, __mulsc3 and __muldc3 // will be linked in from libgcc which make several R_PPC64_TOC16_DS // relocations which may not be resolvable with the internal linker. func test8694(t *testing.T) { t.Skip("not supported on ppc64/ppc64le with internal linking") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Feb 20 15:35:35 GMT 2024 - 631 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
if f == nil { continue } fname := f.Name() switch fname { case "goCallback": // TODO(qmuntal): investigate why this function doesn't appear // when using the external linker. continue } // In module mode, this package has a fully-qualified import path. // Remove it if present. fname = strings.TrimPrefix(fname, "cmd/cgo/internal/") if !strings.HasPrefix(fname, "test.") {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Nov 29 16:01:37 GMT 2023 - 2.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} a.Offset = int64(p.expr()) if p.peek() != '(' { switch prefix { case '$': a.Type = obj.TYPE_CONST case '*': a.Type = obj.TYPE_INDIR // Can appear but is illegal, will be rejected by the linker. default: a.Type = obj.TYPE_MEM } // fmt.Printf("CONST %d %s\n", a.Offset, obj.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() return } // fmt.Printf("offset %d \n", a.Offset) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
data, err := os.ReadFile(input) if err != nil { t.Error(err) return } lineno := 0 lines := strings.Split(string(data), "\n") for _, line := range lines { lineno++ fileline := fmt.Sprintf("%s:%d", input, lineno) if m := errRE.FindStringSubmatch(line); m != nil { all := m[1] mm := errQuotesRE.FindAllStringSubmatch(all, -1) if len(mm) != 1 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/buildid_linux.go
// license that can be found in the LICENSE file. package cgotest // Test that we have no more than one build ID. In the past we used // to generate a separate build ID for each package using cgo, and the // linker concatenated them all. We don't want that--we only want // one. import ( "bytes" "debug/elf" "os" "testing" ) func testBuildID(t *testing.T) { f, err := elf.Open("/proc/self/exe")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1.7K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
fatalf("%s: unexpected: %d-byte uchar type - %s", lineno(pos), t.Size, dtype) } t.Go = c.uint8 t.Align = 1 case *dwarf.UintType: if dt.BitSize > 0 { fatalf("%s: unexpected: %d-bit uint type - %s", lineno(pos), dt.BitSize, dtype) } switch t.Size { default: fatalf("%s: unexpected: %d-byte uint type - %s", lineno(pos), t.Size, dtype) case 1: t.Go = c.uint8
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
misc/linkcheck/linkcheck.go
fragExists = make(map[urlFrag]bool) problems []string ) func localLinks(body string) (links []string) { seen := map[string]bool{} mv := aRx.FindAllStringSubmatch(body, -1) for _, m := range mv { ref := m[1] if strings.HasPrefix(ref, "/src/") { continue } if !seen[ref] { seen[ref] = true links = append(links, m[1]) } } return } var idRx = regexp.MustCompile(`\bid=['"]?([^\s'">]+)`)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Oct 06 15:53:04 GMT 2021 - 3.9K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
} syms[f[2]] = f[0] } if err := scanner.Err(); err != nil { t.Fatalf("error reading symbols: %v", err) } return syms } func runAddr2Line(t *testing.T, dbgExePath, addr string) (funcname, path, lineno string) { cmd := testenv.Command(t, addr2linePath(t), dbgExePath) cmd.Stdin = strings.NewReader(addr) out, err := cmd.CombinedOutput() if err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0)