]> Cypherpunks repositories - gostls13.git/commitdiff
debug/macho: add doc comment for FormatError
authorRob Pike <r@golang.org>
Mon, 11 Mar 2013 19:32:47 +0000 (12:32 -0700)
committerRob Pike <r@golang.org>
Mon, 11 Mar 2013 19:32:47 +0000 (12:32 -0700)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7624044

src/pkg/debug/macho/file.go

index fa73a315c77f19910f338016211ba453949db516..f5f0dedb7c3cf099acb0b103e88e8cbc4996dcfa 100644 (file)
@@ -142,6 +142,8 @@ type Dysymtab struct {
  * Mach-O reader
  */
 
+// FormatError is returned by some operations if the data does
+// not have the correct format for an object file.
 type FormatError struct {
        off int64
        msg string