1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:44:39 -07:00
go/src/debug
Austin Clements 253ad67b34 debug/dwarf: document DWARF class -> Go type mapping
Currently, the only way to know the Go type of an attribute of some
DWARF attribute class was to read the dwarf package code (or
experiment).  This makes it hard to go from the DWARF specification to
writing code that uses the dwarf package.

Fix this by adding a table to the documentation comment of the Field
type that gives the correspondence between DWARF attribute classes and
Go types.

Change-Id: I57c678a551fa1eb46f8207085d5a53d44985e3e7
Reviewed-on: https://go-review.googlesource.com/7280
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2015-04-10 17:59:51 +00:00
..
dwarf debug/dwarf: document DWARF class -> Go type mapping 2015-04-10 17:59:51 +00:00
elf debug/elf: support reading debug info from 32-bit PPC objects 2015-03-14 01:31:28 +00:00
gosym debug/gosym: fix typo in comment 2015-03-14 01:28:30 +00:00
macho debug/macho, debug/pe: load DWARF line section and pass to dwarf.New 2015-03-10 02:32:31 +00:00
pe debug/macho, debug/pe: load DWARF line section and pass to dwarf.New 2015-03-10 02:32:31 +00:00
plan9obj build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00