1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:40:04 -07:00
go/misc/cgo/testcarchive
Ian Lance Taylor be012e1e2e cmd/cgo: don't use absolute paths in the export header file
We were using absolute paths in the #line directives in the export
header file. This makes the header file change if you move GOPATH.
The absolute paths aren't helpful for the final user, which is some C
program elsewhere.

Fixes #24945

Change-Id: I2da32c9b477df578bd5087435a03fe97abe462e3
Reviewed-on: https://go-review.googlesource.com/108315
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-25 00:36:09 +00:00
..
src runtime: enable/disable SIGPROF if needed when profiling 2017-02-09 18:53:34 +00:00
carchive_test.go cmd/cgo: don't use absolute paths in the export header file 2018-04-25 00:36:09 +00:00
main2.c runtime: handle SIGPIPE in c-archive and c-shared programs 2017-02-03 20:07:36 +00:00
main3.c misc/cgo/testcarchive: add missing header 2017-03-09 16:42:46 +00:00
main4.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00
main5.c all: enable c-shared/c-archive support for freebsd/amd64 2018-03-21 21:56:20 +00:00
main6.c runtime: enable/disable SIGPROF if needed when profiling 2017-02-09 18:53:34 +00:00
main_unix.c
main_windows.c
main.c