mirror of
https://github.com/golang/go
synced 2024-11-25 12:47:56 -07:00
debug/dwarf: address TODO in doc comment for New
Fixes #2844. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5675072
This commit is contained in:
parent
91672686da
commit
a15f59ef1d
@ -31,8 +31,9 @@ type Data struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// New returns a new Data object initialized from the given parameters.
|
// New returns a new Data object initialized from the given parameters.
|
||||||
// Clients should typically use [TODO(rsc): method to be named later] instead of calling
|
// Rather than calling this function directly, clients should typically use
|
||||||
// New directly.
|
// the DWARF method of the File type of the appropriate package debug/elf,
|
||||||
|
// debug/macho, or debug/pe.
|
||||||
//
|
//
|
||||||
// The []byte arguments are the data from the corresponding debug section
|
// The []byte arguments are the data from the corresponding debug section
|
||||||
// in the object file; for example, for an ELF object, abbrev is the contents of
|
// in the object file; for example, for an ELF object, abbrev is the contents of
|
||||||
|
Loading…
Reference in New Issue
Block a user