aboutsummaryrefslogtreecommitdiff
path: root/src/os/executable_test.go
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2018-10-24 09:25:05 -0400
committerThan McIntosh <thanm@google.com>2018-10-26 12:37:30 +0000
commit43530e6b25ce542420967efa9d1016fad0336a4f (patch)
tree3b96c0020f46213dacec7ce2763a4dc46228c22b /src/os/executable_test.go
parent2d77600ae7449680b0d4e0171f4186caf3e8d8ab (diff)
downloadgo-43530e6b25ce542420967efa9d1016fad0336a4f.tar.xz
cmd/cgo: handle new-style gccgo packagepath mangling
With https://golang.org/cl/135455, gccgo now uses a different mangling scheme for package paths; add code to use this new scheme for function and variable symbols. Since users sometimes use older versions of gccgo with newer versions of go, perform a test at runtime to see which mangling scheme is in effect for the version of 'gccgo' in the path. Updates #27534. Change-Id: If7ecab06a72e1361129fe40ca6582070a3e8e737 Reviewed-on: https://go-review.googlesource.com/c/144418 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/os/executable_test.go')
0 files changed, 0 insertions, 0 deletions