commit | f11d3bcfb62fc8e5d737acc91534fad5e188b8d4 | [log] [tgz] |
---|---|---|
author | Garret Kelly <gdk@google.com> | Fri Sep 01 17:00:39 2017 -0400 |
committer | John Dethridge <jcd@golang.org> | Tue Sep 05 15:12:22 2017 +0000 |
tree | 7ae608ceb60be534c815fb04a311e26dae5af73e | |
parent | e48e17184ecf6cd503223592fb27874c510e44f7 [diff] |
x/debug/dwarf: don't panic on unsupported type tags Invoking Data.Type on an offset that doesn't correspond to a known type tag should not result in a panic. Ensure that a type tag was matched and exit early if not. Change-Id: I1d490e2e131b5376b3ecedba8d871b513736ad66 Reviewed-on: https://go-review.googlesource.com/61070 Reviewed-by: John Dethridge <jcd@golang.org>