gotest: explicitly skip type descriptors
commit92bea423c295f5c6c9b0cf06a5a555011cc98bdc
authorIan Lance Taylor <iant@golang.org>
Wed, 22 Jan 2020 23:52:23 +0000 (22 15:52 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 23 Jan 2020 04:53:43 +0000 (22 20:53 -0800)
treeb0aed4893cba2bf11072a1c77251a2ff4aac2c16
parent591b59ebfcd48319452ebbd954267c9a05ba4b78
gotest: explicitly skip type descriptors

Type descriptors are normally weak and nm will report them as V,
so we will skip them when collecting the list of symbols.
But when not using GNU nm, they may be reported as D,
so also skip them in symstogo.

This fixes go/doc/check on Solaris.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/215900
gcc/go/gofrontend/MERGE
libgo/testsuite/gotest