runtime: fix TestCallersNilPointerPanic
authoreric fang <eric.fang@arm.com>
Mon, 20 Apr 2020 08:42:01 +0000 (08:42 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 12 May 2020 00:36:24 +0000 (17:36 -0700)
commit5ca575182338a2670f3e7d636c48a2e2ef2d32dc
tree1762e727216a89e5f13e95b3b0e6e8f6d96ed750
parent4f157ed7749fd13c3562dd09696f7d675b86434f
runtime: fix TestCallersNilPointerPanic

The expected result of TestCallersNilPointerPanic has changed in
GoLLVM.  This CL makes some elements of the expected result optional
so that this test passes in both gccgo and GoLLVM.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/230138
gcc/go/gofrontend/MERGE
libgo/go/runtime/callers_test.go