aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-03-11 12:32:47 -0700
committerRob Pike <r@golang.org>2013-03-11 12:32:47 -0700
commitea196278aa1277029314b6eaa4da65e981f19eb1 (patch)
tree6fe2b057b807ed493d81e39001e693ffc89d2acb /src/pkg/debug
parent82e3ca7b7a1f7401e02d227f06c8b208a90c775b (diff)
downloadgo-ea196278aa1277029314b6eaa4da65e981f19eb1.tar.xz
debug/macho: add doc comment for FormatError
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7624044
Diffstat (limited to 'src/pkg/debug')
-rw-r--r--src/pkg/debug/macho/file.go2
1 files changed, 2 insertions, 0 deletions
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