commit | f386e213ddb664881735c81bf9e7f81f26629830 | [log] [tgz] |
---|---|---|
author | jcd <jcd@golang.org> | Thu May 21 00:46:42 2015 +1000 |
committer | jcd . <jcd@golang.org> | Thu May 21 03:41:42 2015 +0000 |
tree | 9327566d91ca63f19a410f837a40ceac3e5dd200 | |
parent | 9fb920db24dfabd09df0eebba20fa5379e85656a [diff] |
debug: better computation of stride for ArrayType If the DWARF attribute for the stride of an array in bits is not present, fall back to the attribute that measures the stride in bytes, and then to the size of the type of the array's elements. Change-Id: Ied5afbba6bf05481731a115c8c22d46892330e60 Reviewed-on: https://go-review.googlesource.com/10249 Reviewed-by: Rob Pike <r@golang.org>