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. dwarf/
  2. elf/
  3. gosym/
  4. macho/
  5. ogle/
  6. AUTHORS
  7. CONTRIBUTORS
  8. LICENSE
  9. README