• David Crawshaw's avatar
    runtime/cgo, cmd/dist: turn off exc_bad_access handler by default · 4044aded
    David Crawshaw authored
    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/9549Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    4044aded
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...