commit | c5d82eeaa3aec4e87c24da808f08634160b9c2e5 | [log] [tgz] |
---|---|---|
author | Keith Randall <khr@google.com> | Tue Jul 31 16:58:05 2018 -0700 |
committer | Keith Randall <khr@golang.org> | Wed Aug 01 19:14:52 2018 +0000 |
tree | 2065ae13eee505ba9ca3bff421bf17a235ef45ac | |
parent | bd051a4465ee878585905cd46ae1ce5b96d132c7 [diff] |
internal/gocore: ignore non-ClassExprLoc locations when reading locations viewcore only knows how to handle ExprLoc-encoded location information. As of Go 1.11, we now encode locals with ClassLocListPtr. This CL just skips location list info. That's fine for globals (they are still ExprLoc-encoded), but for locals we'll need a CL to make gocore understand location lists. This CL just gets us to a point where viewcore doesn't crash. Change-Id: Ibde9ebcb130bc7e9141e7b6162e1500ff8b852e8 Reviewed-on: https://go-review.googlesource.com/127118 Reviewed-by: Heschi Kreinick <heschi@google.com>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.