diff options
| author | David Crawshaw <crawshaw@golang.org> | 2015-04-30 16:38:10 -0400 |
|---|---|---|
| committer | David Crawshaw <crawshaw@golang.org> | 2015-05-01 13:19:39 +0000 |
| commit | 4044adedf7eb8c3ab89f00479965be62e029f350 (patch) | |
| tree | 368726d4ad7c7750029c15e2b7ef5b088a0fc391 /src/runtime/stack2.go | |
| parent | 5f69e739d3b01e657e27547641e8db74d2c2a862 (diff) | |
| download | go-4044adedf7eb8c3ab89f00479965be62e029f350.tar.xz | |
runtime/cgo, cmd/dist: turn off exc_bad_access handler by default
App Store policy requires programs do not reference the exc_server
symbol. (Some public forum threads show that Unity ran into this
several years ago and it is a hard policy rule.) While some research
suggests that I could write my own version of exc_server, the
expedient course is to disable the exception handler by default.
Go programs only need it when running under lldb, which is primarily
used by tests. So enable the exception handler in cmd/dist when we
are running the tests.
Fixes #10646
Change-Id: I853905254894b5367edb8abd381d45585a78ee8b
Reviewed-on: https://go-review.googlesource.com/9549
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/stack2.go')
0 files changed, 0 insertions, 0 deletions
