Home
last modified time | relevance | path

Searched refs:gccgo (Results 1 – 25 of 66) sorted by relevance

123

/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/testdata/script/
Dbuild_overlay.txt7 # TODO(#39958): add a test that both gc and gccgo assembly files can include .h
60 stderr '(compile|gccgo)( |\.exe).*test_cache.go'
62 ! stderr '(compile|gccgo)( |\.exe).*test_cache.go' # cached
65 stderr '(compile|gccgo)( |\.exe).*test_cache.go' # not cached
68 # Run same tests but with gccgo.
70 [!exec:gccgo] stop
71 [cross] stop # gccgo can't necessarily cross-compile
73 ! go build -compiler=gccgo .
74 go build -compiler=gccgo -overlay overlay.json -o main_gccgo$GOEXE .
78 go build -compiler=gccgo -overlay overlay.json -o print_abspath_gccgo$GOEXE ./printpath
[all …]
Dgccgo_link_c.txt2 # cmd/cgo: undefined reference when linking a C-library using gccgo
5 [!exec:gccgo] skip
6 [cross] skip # gccgo can't necessarily cross-compile, so don't assume it will reach the step where…
8 ! go build -x -compiler gccgo
9 stderr 'gccgo.*\-L [^ ]*alibpath \-lalib' # make sure that Go-inline "#cgo LDFLAGS:" ("-L alibpath …
10 ! stderr 'gccgo.*-lalib.*-lalib' # make sure -lalib is only passed once
Dbuild_cache_link.txt10 stderr '(compile|gccgo)( |\.exe).*main\.go'
11 stderr '(link|gccgo)( |\.exe)'
15 ! stderr '(compile|gccgo)( |\.exe).*main\.go'
16 stderr '(link|gccgo)( |\.exe)'
20 stderr '(link|gccgo)( |\.exe)'
22 ! stderr '(link|gccgo)( |\.exe)'
Dbuild_trimpath.txt93 # Same sequence of tests but with gccgo.
94 # gccgo does not support builds in module mode.
95 [!exec:gccgo] stop
96 [cross] stop # gccgo can't necessarily cross-compile
99 # A binary built with gccgo without -trimpath should contain the current
101 go build -compiler=gccgo -o paths-dbg.exe paths
106 # gccgo doesn't load std from GOROOT.
107 # A binary built with gccgo with -trimpath should not contain GOPATH or GOROOT.
108 go build -compiler=gccgo -trimpath -o paths-a.exe paths
116 go build -compiler=gccgo -trimpath -o paths-b.exe paths
Dgccgo_m.txt1 # It's absurd, but builds with -compiler=gccgo used to fail to build module m.
7 [cross] skip # gccgo can't necessarily cross-compile
13 [exec:gccgo] go build -compiler=gccgo
14 [exec:gccgo] exists m$GOEXE
Dbuild_cache_compile.txt10 stderr '(compile|gccgo)( |\.exe).*lib\.go'
14 ! stderr '(compile|gccgo)( |\.exe).*lib\.go'
18 stderr '(compile|gccgo)( |\.exe)'
Dgccgo_link_ldflags.txt10 [!exec:gccgo] skip
12 # TODO: remove once gccgo on builder is updated
15 go build -compiler gccgo
Dmod_get_commit.txt9 ! stderr 'compile|cp|gccgo .*language\.a$'
20 stderr 'compile|cp|gccgo .*language\.a$'
27 ! stderr 'compile|cp|gccgo .*language\.a$'
Dbuild_unsupported_goos.txt1 [compiler:gccgo] skip # gccgo assumes cross-compilation is always possible
Dbuild_tags_no_comma.txt1 [compiler:gccgo] skip 'gccgo has no standard packages'
Dcover_runs.txt1 [compiler:gccgo] skip 'gccgo has no cover tool'
Dbuild_link_x_import_path_escape.txt1 [compiler:gccgo] skip 'gccgo does not support -ldflags -X'
Dcover_dot_import.txt2 [compiler:gccgo] skip # gccgo has no cover tool
Dcover_cgo.txt3 [compiler:gccgo] skip # gccgo has no cover tool
Dcover_cgo_xtest.txt3 [compiler:gccgo] skip # gccgo has no cover tool
Dbuild_issue6480.txt6 [compiler:gccgo] skip
22 ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked
32 ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked
Dbuild_gcflags.txt5 [compiler:gccgo] skip # gccgo does not use -gcflags
Dcover_import_main_loop.txt1 [compiler:gccgo] skip # gccgo has no cover tool
Dcover_cgo_extra_file.txt3 [compiler:gccgo] skip # gccgo has no cover tool
Dcover_cgo_extra_test.txt3 [compiler:gccgo] skip # gccgo has no cover tool
Dcover_modes.txt7 [compiler:gccgo] skip # gccgo has no cover tool
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/work/
Dinit.go186 gccgo := cfg.BuildToolchainName == "gccgo"
198 if gccgo {
219 if gccgo {
235 if cfg.Goos != "windows" && !gccgo {
252 if gccgo {
264 if gccgo {
275 if gccgo {
294 if gccgo {
306 if gccgo {
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/goroot/
Dgc.go52 gccgo := os.Getenv("GCCGO")
53 if gccgo == "" {
54 gccgo = "gccgo"
56 bin, err := exec.LookPath(gccgo)
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/cgo/
Dout.go39 if *gccgo {
48 if !*gccgo {
102 if !*gccgo {
147 if *gccgo {
153 if *gccgo {
177 if *gccgo {
207 if *gccgo {
215 if !*gccgo {
222 if *gccgo {
244 if *gccgo {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/
Dgo_test.go984 …tg.grepBothNot(`([\\/]compile|gccgo).* (-p main|-fgo-pkgpath=main).*p1\.go`, "should not have run …
985 …tg.grepStderr(`([\\/]compile|gccgo).* (-p p1|-fgo-pkgpath=p1).*p1\.go`, "should have run compile -…
2384 tg.grepStderrNot(`[\\/](compile|gccgo) `, "incorrectly ran compiler")
2385 tg.grepStderrNot(`[\\/](link|gccgo) `, "incorrectly ran linker")
2398 tg.grepStderrNot(`([\\/](compile|gccgo) ).*t[0-9]_test\.go`, "incorrectly ran compiler")
2399 tg.grepStderrNot(`[\\/](link|gccgo) `, "incorrectly ran linker")
2409 tg.grepStderr(`([\\/]compile|gccgo).*p2.go`, "did not recompile p2")
2412 tg.grepStderrNot(`([\\/]compile|gccgo).*t1_test.go`, "incorrectly recompiled t1")
2413 tg.grepStderrNot(`([\\/]link|gccgo).*t1_test`, "incorrectly relinked t1_test")
2419 tg.grepStderr(`([\\/]compile|gccgo).*t2_test.go`, "did not recompile t2")
[all …]

123