aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/traceback.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-11-18 15:38:26 -0500
committerRuss Cox <rsc@golang.org>2015-11-19 20:57:16 +0000
commit26119179fa217da7f89d4c5930889bbbedbab8b9 (patch)
tree7f65300c44265c3f2219b144b8970b98a7e0e42a /src/runtime/traceback.go
parent3ea668a0f2dc692213ec79adad382559a15eb889 (diff)
downloadgo-26119179fa217da7f89d4c5930889bbbedbab8b9.tar.xz
cmd/go: fix loading of buildid on OS X executables
This is a bit of a belt-and-suspenders fix. On OS X, we now parse the Mach-O file to find the __text section, which is arguably the more proper fix. But it's a bit worrisome to depend on a name like __text not changing, so we also read more of the initial file (now 32 kB, up from 8 kB) and scan that too. Fixes #12327. Change-Id: I3a201a3dc278d24707109bb3961c3bdd8b8a0b7b Reviewed-on: https://go-review.googlesource.com/17038 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/traceback.go')
0 files changed, 0 insertions, 0 deletions