• David Crawshaw's avatar
    cmd/go, misc: switch from breakpoint to SIGUSR2 · 333f764d
    David Crawshaw authored
    The iOS test harness has set a breakpoint early in the life of Go
    programs so that it can change the current working directory using
    information only available from the host debugger. Somewhere in the
    upgrade to iOS 10 / XCode 8.2, breakpoints stopped working. This
    may be an LLDB bug, or a bug in the ios-deploy LLDB scripts, it's
    not clear.
    
    Work around the problem by giving up on breakpoints. Instead, early
    in the life of every test binary built for iOS, send (and ignore) a
    SIGUSR2 signal. The debugger will catch this, giving the script
    go_darwin_arm_exec a chance to change the working directory.
    
    For the iOS builders.
    
    Change-Id: I7476531985217d0c76bc176904c48379210576c2
    Reviewed-on: https://go-review.googlesource.com/34926Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    333f764d
Name
Last commit
Last update
.github Loading commit data...
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...