• Austin Clements's avatar
    [dev.cc] runtime: add explicit siginfo.si_addr field · f4a52545
    Austin Clements authored
    struct siginfo_t's si_addr field is part of a union.
    Previously, we represented this union in Go using an opaque
    byte array and accessed the si_addr field using unsafe (and
    wrong on 386 and arm!) pointer arithmetic.  Since si_addr is
    the only field we use from this union, this replaces the
    opaque byte array with an explicit declaration of the si_addr
    field and accesses it directly.
    
    LGTM=minux, rsc
    R=rsc, minux
    CC=golang-codereviews
    https://golang.org/cl/179970044
    f4a52545
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
dev.cc Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...