debug: Add a function for computing the stride of an array.

Make sizeof() return a bool indicating success.

Continue printing slices even if we can't determine the stride.

Ran go fmt.

Change-Id: I9cf3ae3806223dd7b8b420c817f02900fe7a1a05
Reviewed-on: https://go-review.googlesource.com/2684
Reviewed-by: Rob Pike <r@golang.org>
1 file changed
tree: 09d01e1426ced14908a1f590a9386e5548d7ad8b
  1. AUTHORS
  2. CONTRIBUTORS
  3. LICENSE
  4. README
  5. dwarf/
  6. elf/
  7. gosym/
  8. macho/
  9. ogle/