]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: fix typo in gccgo name mangling recipe
authorThan McIntosh <thanm@google.com>
Tue, 6 Nov 2018 20:07:46 +0000 (15:07 -0500)
committerThan McIntosh <thanm@google.com>
Tue, 13 Nov 2018 15:34:54 +0000 (15:34 +0000)
commit43edf21eff83e95b32cc43453c3a8df816d85e88
treeb77fbcb22fda3268a37aec1af5fcedc6afebc6f0
parent8f7173dcdeb1a1c8af885bb2a267674b4f5fbfc4
cmd/cgo: fix typo in gccgo name mangling recipe

The code to implement new-style gccgo name mangling had a recipe that
didn't quite match that of the compiler (incorrect handling for '.').
This showed up as a failure in the gotools cgo test if the directory
containing the test run included a "." character.

[This is a copy of https://golang.org/cl/147917].

Change-Id: Ia94728ecead879c8d223eb6cee6c102a8af1c86e
Reviewed-on: https://go-review.googlesource.com/c/147937
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/cgo/out.go