]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testplugin: disable DWARF tests on darwin
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Wed, 5 Sep 2018 05:07:56 +0000 (07:07 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 5 Sep 2018 11:27:37 +0000 (11:27 +0000)
commit3fd364988ce5dcf3aa1d4eb945d233455db30af6
treee06da3caca9b5a53382e490fbe6f2526328e22df
parentbcf3e063cc332e4c75b99d0102c0f12dd307c0b5
misc/cgo/testplugin: disable DWARF tests on darwin

For some reason on darwin the linker still can't add debug sections to
plugins. Executables importing "plugin" do have them, however.

Because of issue 25841, plugins on darwin would likely have bad debug
info anyway so, for now, this isn't a great loss.

This disables the check for debug sections in plugins for darwin only.

Updates #27502

Change-Id: Ib8f62dac1e485006b0c2b3ba04f86d733db5ee9a
Reviewed-on: https://go-review.googlesource.com/133435
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
misc/cgo/testplugin/src/checkdwarf/main.go
misc/cgo/testplugin/test.bash