Skip to content

Commit

Permalink
debug/dwarf: address TODO in doc comment for New
Browse files Browse the repository at this point in the history
Fixes #2844.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5675072
  • Loading branch information
robpike committed Feb 17, 2012
1 parent 9167268 commit a15f59e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pkg/debug/dwarf/open.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ type Data struct {
}

// 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
// New directly.
// Rather than calling this function directly, clients should typically use
// 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
// in the object file; for example, for an ELF object, abbrev is the contents of
Expand Down

0 comments on commit a15f59e

Please sign in to comment.