HomeSort by relevance Sort by last modified time
    Searched refs:buildmode (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/toolchain-utils/go/
go_target 24 -buildmode | -buildmode=*) return 0 ;;
38 # Add "-buildmode=pie" to "go build|install|run|test" commands.
41 "-buildmode=pie"
72 "-buildmode=pie"
  /external/toolchain-utils/go/chromeos/
build_go 25 ../bin/go install -v -buildmode=pie std
35 ../bin/go install -v -buildmode=pie std
45 ../bin/go install -v -buildmode=pie std
  /prebuilts/go/darwin-x86/misc/cgo/testplugin/
test.bash 26 GOPATH=$(pwd) go build -i -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin1
27 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin2
29 GOPATH=$(pwd)/altpath go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin-mismatch
30 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=sub/plugin1.so sub/plugin1
31 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed1.so unnamed1/main.go
32 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed2.so unnamed2/main.go
38 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_a
39 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_b
55 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o plugin.so src/issue18676/plugin.go
61 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -ldflags='-pluginpath=issue.19534' -o plugin.so src/issue19534/plugin.g
    [all...]
  /prebuilts/go/linux-x86/misc/cgo/testplugin/
test.bash 26 GOPATH=$(pwd) go build -i -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin1
27 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin2
29 GOPATH=$(pwd)/altpath go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin-mismatch
30 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=sub/plugin1.so sub/plugin1
31 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed1.so unnamed1/main.go
32 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed2.so unnamed2/main.go
38 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_a
39 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_b
55 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o plugin.so src/issue18676/plugin.go
61 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -ldflags='-pluginpath=issue.19534' -o plugin.so src/issue19534/plugin.g
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/go/internal/work/
init.go 108 base.Fatalf("-buildmode=c-shared not supported on %s\n", platform)
127 // and is using buildmode=exe for a better error message.
134 base.Fatalf("-buildmode=pie not supported when -race is enabled")
137 base.Fatalf("-buildmode=pie not supported by gccgo")
146 base.Fatalf("-buildmode=pie not supported on %s\n", platform)
158 base.Fatalf("-buildmode=shared not supported on %s\n", platform)
163 base.Fatalf("-buildmode=shared and -o not supported together")
178 base.Fatalf("-buildmode=plugin not supported on %s\n", platform)
185 base.Fatalf("buildmode=%s not supported", cfg.BuildBuildmode)
gccgo.go 192 func (tools gccgoToolchain) link(b *Builder, root *Action, out, importcfg string, allactions []*Action, buildmode, desc string) error {
377 switch buildmode {
418 base.Fatalf("-buildmode=%s not supported for gccgo", buildmode)
421 switch buildmode {
446 switch buildmode {
build.go 80 -buildmode mode
81 build mode to use. See 'go help buildmode' for more.
93 flag. Using a -buildmode option that requires non-default compile flags
99 -buildmode=shared.
217 cmd.Flag.StringVar(&cfg.BuildBuildmode, "buildmode", "default", "")
267 base.Fatalf("-buildmode=%s requires exactly one main package", cfg.BuildBuildmode)
356 // -buildmode=shared. The rules we use are:
474 // Note: If buildmode=shared then only non-main packages
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
config.go 14 // A BuildMode indicates the sort of object we are building.
16 // Possible build modes are the same as those for the -buildmode flag
17 // in cmd/go, and are documented in 'go help buildmode'.
18 type BuildMode uint8
21 BuildModeUnset BuildMode = iota
30 func (mode *BuildMode) Set(s string) error {
32 return fmt.Errorf("buildmode %s not supported on %s/%s", s, objabi.GOOS, objabi.GOARCH)
36 return fmt.Errorf("invalid buildmode: %q", s)
106 func (mode *BuildMode) String() string {
123 return fmt.Sprintf("BuildMode(%d)", uint8(*mode)
    [all...]
macho_combine_dwarf.go 94 func machoCombineDwarf(inexe, dsym, outexe string, buildmode BuildMode) error {
233 return machoUpdateDwarfHeader(&reader, buildmode)
294 func machoUpdateDwarfHeader(r *loadCmdReader, buildmode BuildMode) error {
322 // But if we do this for buildmode=c-shared then the user-space
324 if buildmode != BuildModeCShared {
  /prebuilts/go/linux-x86/src/cmd/go/internal/work/
init.go 108 base.Fatalf("-buildmode=c-shared not supported on %s\n", platform)
127 // and is using buildmode=exe for a better error message.
134 base.Fatalf("-buildmode=pie not supported when -race is enabled")
137 base.Fatalf("-buildmode=pie not supported by gccgo")
146 base.Fatalf("-buildmode=pie not supported on %s\n", platform)
158 base.Fatalf("-buildmode=shared not supported on %s\n", platform)
163 base.Fatalf("-buildmode=shared and -o not supported together")
178 base.Fatalf("-buildmode=plugin not supported on %s\n", platform)
185 base.Fatalf("buildmode=%s not supported", cfg.BuildBuildmode)
gccgo.go 192 func (tools gccgoToolchain) link(b *Builder, root *Action, out, importcfg string, allactions []*Action, buildmode, desc string) error {
377 switch buildmode {
418 base.Fatalf("-buildmode=%s not supported for gccgo", buildmode)
421 switch buildmode {
446 switch buildmode {
build.go 80 -buildmode mode
81 build mode to use. See 'go help buildmode' for more.
93 flag. Using a -buildmode option that requires non-default compile flags
99 -buildmode=shared.
217 cmd.Flag.StringVar(&cfg.BuildBuildmode, "buildmode", "default", "")
267 base.Fatalf("-buildmode=%s requires exactly one main package", cfg.BuildBuildmode)
356 // -buildmode=shared. The rules we use are:
474 // Note: If buildmode=shared then only non-main packages
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
config.go 14 // A BuildMode indicates the sort of object we are building.
16 // Possible build modes are the same as those for the -buildmode flag
17 // in cmd/go, and are documented in 'go help buildmode'.
18 type BuildMode uint8
21 BuildModeUnset BuildMode = iota
30 func (mode *BuildMode) Set(s string) error {
32 return fmt.Errorf("buildmode %s not supported on %s/%s", s, objabi.GOOS, objabi.GOARCH)
36 return fmt.Errorf("invalid buildmode: %q", s)
106 func (mode *BuildMode) String() string {
123 return fmt.Sprintf("BuildMode(%d)", uint8(*mode)
    [all...]
macho_combine_dwarf.go 94 func machoCombineDwarf(inexe, dsym, outexe string, buildmode BuildMode) error {
233 return machoUpdateDwarfHeader(&reader, buildmode)
294 func machoUpdateDwarfHeader(r *loadCmdReader, buildmode BuildMode) error {
322 // But if we do this for buildmode=c-shared then the user-space
324 if buildmode != BuildModeCShared {
  /prebuilts/go/darwin-x86/misc/cgo/testcshared/src/libgo2/
libgo2.go 9 // Test a shared library created by -buildmode=c-shared that does not
  /prebuilts/go/linux-x86/misc/cgo/testcshared/src/libgo2/
libgo2.go 9 // Test a shared library created by -buildmode=c-shared that does not
  /prebuilts/go/darwin-x86/misc/cgo/testshared/
shared_test.go 76 // Because go install -buildmode=shared $standard_library_package always
154 goCmd(nil, append([]string{"install", "-buildmode=shared"}, minpkgs...)...)
401 goCmd(t, "build", "-buildmode=pie", "-o", "trivial.pie", "-linkshared", "trivial")
436 goCmd(t, "build", "-buildmode=pie", "-o="+name, "trivial")
444 goCmd(t, "build", "-buildmode=pie", "-o="+name, "execgo")
453 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase")
531 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase")
584 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase")
585 goCmd(t, "install", "-buildmode=shared", "-linkshared", "dep2")
591 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase"
    [all...]
  /prebuilts/go/linux-x86/misc/cgo/testshared/
shared_test.go 76 // Because go install -buildmode=shared $standard_library_package always
154 goCmd(nil, append([]string{"install", "-buildmode=shared"}, minpkgs...)...)
401 goCmd(t, "build", "-buildmode=pie", "-o", "trivial.pie", "-linkshared", "trivial")
436 goCmd(t, "build", "-buildmode=pie", "-o="+name, "trivial")
444 goCmd(t, "build", "-buildmode=pie", "-o="+name, "execgo")
453 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase")
531 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase")
584 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase")
585 goCmd(t, "install", "-buildmode=shared", "-linkshared", "dep2")
591 goCmd(t, "install", "-buildmode=shared", "-linkshared", "depBase"
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/testcarchive/
carchive_test.go 177 "go", "install", "-i", "-buildmode=c-archive", "libgo")
182 "go", "build", "-buildmode=c-archive", filepath.Join("src", "libgo", "libgo.go"))
185 "go", "build", "-buildmode=c-archive", "-o", "libgo.a", "libgo")
206 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo2.a", "libgo2")
235 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo2.a", "libgo2")
272 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo2.a", "libgo2")
384 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo3.a", "libgo3")
416 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo4.a", "libgo4")
467 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-ldflags=-extar="+filepath.Join(dir, "testar"), "-o", "libgo4.a", "libgo4")
494 cmd := exec.Command("go", "install", "-i", "-buildmode=c-archive", "libgo"
    [all...]
  /prebuilts/go/linux-x86/misc/cgo/testcarchive/
carchive_test.go 177 "go", "install", "-i", "-buildmode=c-archive", "libgo")
182 "go", "build", "-buildmode=c-archive", filepath.Join("src", "libgo", "libgo.go"))
185 "go", "build", "-buildmode=c-archive", "-o", "libgo.a", "libgo")
206 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo2.a", "libgo2")
235 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo2.a", "libgo2")
272 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo2.a", "libgo2")
384 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo3.a", "libgo3")
416 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-o", "libgo4.a", "libgo4")
467 cmd := exec.Command("go", "build", "-buildmode=c-archive", "-ldflags=-extar="+filepath.Join(dir, "testar"), "-o", "libgo4.a", "libgo4")
494 cmd := exec.Command("go", "install", "-i", "-buildmode=c-archive", "libgo"
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/testsanitizers/
cshared_test.go 53 mustRun(t, config.goCmd("build", "-buildmode=c-shared", "-o", lib, srcPath(tc.src)))
  /prebuilts/go/linux-x86/misc/cgo/testsanitizers/
cshared_test.go 53 mustRun(t, config.goCmd("build", "-buildmode=c-shared", "-o", lib, srcPath(tc.src)))
  /prebuilts/go/darwin-x86/src/os/signal/
doc.go 171 When Go code is built with options like -buildmode=c-shared, it will
175 the discussion here applies). For -buildmode=c-archive the Go runtime
177 -buildmode=c-shared the Go runtime will initialize signals when the
190 Go code built with -buildmode=c-archive or -buildmode=c-shared will
199 Go code built without -buildmode=c-archive or -buildmode=c-shared will
  /prebuilts/go/linux-x86/src/os/signal/
doc.go 171 When Go code is built with options like -buildmode=c-shared, it will
175 the discussion here applies). For -buildmode=c-archive the Go runtime
177 -buildmode=c-shared the Go runtime will initialize signals when the
190 Go code built with -buildmode=c-archive or -buildmode=c-shared will
199 Go code built without -buildmode=c-archive or -buildmode=c-shared will
  /prebuilts/go/darwin-x86/src/cmd/link/
doc.go 44 -buildmode mode
57 Used only for -buildmode=c-archive.

Completed in 668 milliseconds

1 2 3