]> Cypherpunks repositories - gostls13.git/commit
debug/macho: handle missing __debug_str section
authorKeith Randall <khr@golang.org>
Thu, 13 Mar 2014 21:04:29 +0000 (14:04 -0700)
committerKeith Randall <khr@golang.org>
Thu, 13 Mar 2014 21:04:29 +0000 (14:04 -0700)
commit4c6d2d6aa8aff8876a511882dd2a1facf4965667
tree6c47e50913645803ae89b4dd319621ecd9122262
parent41aa887be5981844a425c8c71aa7e24cea21a258
debug/macho: handle missing __debug_str section

debug/elf does the same thing, use []byte{} for
any missing sections.

Fixes #7510

LGTM=rsc
R=golang-codereviews, iant
CC=golang-codereviews, rsc
https://golang.org/cl/75230043
src/pkg/debug/macho/file.go