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.

Change-Id: I32275129d485956fef704ca01c29b41793d00ae7
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/215900
Reviewed-by: Cherry Zhang <cherryyz@google.com>
1 file changed