go/src/debug/dwarf
Heschi Kreinick 7b9d15d566 debug/dwarf: clarify StructField.ByteSize doc
StructField.ByteSize is almost always unset; document that Type.Size()
is the place to look.

The dwarf package doesn't spend much effort teaching you DWARF, so I
don't know what level of handholding is appropriate. Still, no harm in a
little comment.

Closes #21093

Change-Id: I0ed8cad2fa18e10a47d264ff16c176d603d6033c
Reviewed-on: https://go-review.googlesource.com/71671
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2017-10-18 21:45:30 +00:00
..
testdata debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
buf.go all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
class_string.go debug/dwarf: return ClassUnknown if attribute class cannot be determined 2015-09-15 17:57:51 +00:00
const.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
entry.go debug/dwarf: support 64-bit DWARF in byte order check 2017-10-17 04:02:09 +00:00
entry_test.go debug/dwarf: support 64-bit DWARF in byte order check 2017-10-17 04:02:09 +00:00
export_test.go debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
line.go debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
line_test.go debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
open.go debug/dwarf: support 64-bit DWARF in byte order check 2017-10-17 04:02:09 +00:00
type.go debug/dwarf: clarify StructField.ByteSize doc 2017-10-18 21:45:30 +00:00
type_test.go debug/dwarf: heuristically handle both UNIX and Windows paths 2017-05-26 14:35:20 +00:00
typeunit.go debug/dwarf: support 64-bit DWARF in byte order check 2017-10-17 04:02:09 +00:00
unit.go debug/dwarf: support 64-bit DWARF in byte order check 2017-10-17 04:02:09 +00:00