1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:44:44 -07:00

cmd/internal/link: disable selected DWARF tests on Solaris

Disable the three linker DWARF tests that invoke the compiler in
non-debug mode on Solaris, since this seems to trigger a split stack
overflow. These can be turned back on once the issue in question is
resolved.

Updates #23168.

Change-Id: I5be1b098e33e8bad3bc234a0964eab1dee7e7954
Reviewed-on: https://go-review.googlesource.com/84655
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
This commit is contained in:
Than McIntosh 2017-12-18 13:58:41 -05:00
parent 2de98eb8de
commit 54f0520f94

View File

@ -531,6 +531,9 @@ func TestInlinedRoutineRecords(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping on plan9; no DWARF symbol table in executables")
}
if runtime.GOOS == "solaris" {
t.Skip("skipping on solaris, pending resolution of issue #23168")
}
const prog = `
package main
@ -748,6 +751,9 @@ func TestAbstractOriginSanity(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping on plan9; no DWARF symbol table in executables")
}
if runtime.GOOS == "solaris" {
t.Skip("skipping on solaris, pending resolution of issue #23168")
}
abstractOriginSanity(t, OptInl4)
}
@ -758,6 +764,9 @@ func TestAbstractOriginSanityWithLocationLists(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping on plan9; no DWARF symbol table in executables")
}
if runtime.GOOS == "solaris" {
t.Skip("skipping on solaris, pending resolution of issue #23168")
}
if runtime.GOARCH != "amd64" && runtime.GOARCH != "x86" {
t.Skip("skipping on not-amd64 not-x86; location lists not supported")
}