]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/cgo: split gofrontend mangling checks into cmd/internal/pkgpath
authorIan Lance Taylor <iant@golang.org>
Fri, 2 Oct 2020 23:03:37 +0000 (16:03 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 5 Oct 2020 18:36:57 +0000 (18:36 +0000)
commit72ee5bad9f9bd8979e14fab02fb07e39c5e9fd8c
tree6256225c9686d0085bce7da0b12b6a3331230ad7
parentb064eb7e1bb1b138405b9c8da1d90c476a266ef5
cmd/cgo: split gofrontend mangling checks into cmd/internal/pkgpath

This is a step toward porting https://golang.org/cl/219817 from the
gofrontend repo to the main repo.

Note that this also corrects the implementation of the v2 mangling
scheme to use ..u and ..U where appropriate.

For #37272

Change-Id: I64a1e7ca1c84348efcbf1cf62049eeb05c830ed8
Reviewed-on: https://go-review.googlesource.com/c/go/+/259298
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/cgo/main.go
src/cmd/cgo/out.go
src/cmd/dist/buildtool.go
src/cmd/internal/pkgpath/pkgpath.go [new file with mode: 0644]
src/cmd/internal/pkgpath/pkgpath_test.go [new file with mode: 0644]