• Russ Cox's avatar
    cmd/gc, runtime: fix race, nacl for writebarrier changes · ff6d0a4d
    Russ Cox authored
    The racewalk code was not updated for the new write barriers.
    Make it more future-proof.
    
    The new write barrier code assumed that +1 pointer would
    be aligned properly for any type that might follow, but that's
    not true on 32-bit systems where some types are 64-bit aligned.
    The only system like that today is nacl/amd64p32.
    Insert a dummy pointer so that the ambiguously typed
    value is at +2 pointers, which is always max-aligned.
    
    LGTM=r
    R=r
    CC=golang-codereviews, iant, khr
    https://golang.org/cl/158890046
    ff6d0a4d
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
ld Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
yacc Loading commit data...