1
0
mirror of https://github.com/golang/go synced 2024-11-20 01:04:40 -07:00
go/src/debug
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
..
dwarf debug/dwarf: clarify StructField.ByteSize doc 2017-10-18 21:45:30 +00:00
elf debug/elf: add relocation constants 2017-10-11 16:40:10 +00:00
gosym all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
macho debug/macho: fill Rpath.LoadBytes in NewFile 2017-09-27 04:01:40 +00:00
pe cmd/link: actually generate .debug_gdb_scripts section on windows 2017-05-15 06:16:19 +00:00
plan9obj all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00