From: Rob Pike Date: Mon, 11 Mar 2013 19:32:47 +0000 (-0700) Subject: debug/macho: add doc comment for FormatError X-Git-Tag: go1.1rc2~588 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ea196278aa1277029314b6eaa4da65e981f19eb1;p=gostls13.git debug/macho: add doc comment for FormatError R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7624044 --- diff --git a/src/pkg/debug/macho/file.go b/src/pkg/debug/macho/file.go index fa73a315c7..f5f0dedb7c 100644 --- a/src/pkg/debug/macho/file.go +++ b/src/pkg/debug/macho/file.go @@ -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