]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: retain original file paths in godefs generated comment
authorTobias Klauser <tklauser@distanz.ch>
Fri, 1 Apr 2022 07:41:57 +0000 (09:41 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Sun, 3 Apr 2022 07:18:10 +0000 (07:18 +0000)
commit73a81d84b644da13bb11ce2e63d7f61041f7ebac
tree072e2baca4b5026af69c54ed911d85caed34283c
parent8e50298f12c9cb8dc8093c00059e46a302977b83
cmd/cgo: retain original file paths in godefs generated comment

Don't rewrite relative file paths to absolute file paths in the
godefs generated code comment.

Fixes #52063

Change-Id: Ie9c5bd021b8f3954e827838930861622c7aa90b4
Reviewed-on: https://go-review.googlesource.com/c/go/+/396936
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testgodefs/testgodefs_test.go
src/cmd/cgo/godefs.go
src/cmd/cgo/main.go