]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/cgo, cmd/internal/pkgpath: support gofrontend mangler v3
authorIan Lance Taylor <iant@golang.org>
Fri, 20 Nov 2020 20:54:18 +0000 (12:54 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 20 Nov 2020 21:45:57 +0000 (21:45 +0000)
commitc47eac7db00e03776c3975025184e1938fbced75
tree07c205d279c0cca6e30e7f7540882591b3fbd344
parent3fd491747247e95d00e24feccd1568b9e7eb37b4
cmd/cgo, cmd/internal/pkgpath: support gofrontend mangler v3

The gofrontend mangling scheme used by gccgo and GoLLVM has changed again.
Support the new version. This is a port of the relevant parts of
https://golang.org/cl/271726.

For #41862

Change-Id: I9c961c8e17ec960a83a23e1d49ea900962b63393
Reviewed-on: https://go-review.googlesource.com/c/go/+/272127
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/cgo/out.go
src/cmd/internal/pkgpath/pkgpath.go
src/cmd/internal/pkgpath/pkgpath_test.go