gocore: skip non-Go CUs

gocore can only handle DIEs produced by the Go toolchain. Skip CUs from
other languages, e.g. C++ via cgo.

Change-Id: If1ca99065ac73efe6aeef6284bbfd9df6a37dccd
Reviewed-on: https://go-review.googlesource.com/107777
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed