x/debug: changes to peek_test to support the current compiler.

Many local variables are optimized out of the test program, stop trying
to read them for now.

The DWARF information for type names does not include 'struct ' in the
same places; make it optional.

Change-Id: I193ac0ea78a982f6020ff88ad59ec6fd78d939c9
Reviewed-on: https://go-review.googlesource.com/20781
Reviewed-by: Dave Day <djd@golang.org>
1 file changed