• Russ Cox's avatar
    sync/atomic: fix unimportant assembly errors found by go vet · 42ea2eda
    Russ Cox authored
    None of these are real bugs.
    The variable name in the reference is not semantically meaningful,
    except that 'go vet' will double check the offset against the name for you.
    
    The stack sizes being corrected really are incorrect but they are also
    in NOSPLIT functions so they typically don't matter.
    
    Found by vet.
    
    GOOS=linux GOARCH=amd64 go vet sync/atomic
    GOOS=linux GOARCH=amd64p32 go vet sync/atomic
    GOOS=linux GOARCH=386 go vet sync/atomic
    GOOS=linux GOARCH=arm go vet sync/atomic
    GOOS=freebsd GOARCH=arm go vet sync/atomic
    GOOS=netbsd GOARCH=arm go vet sync/atomic
    
    LGTM=r
    R=r, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/100500043
    42ea2eda
Name
Last commit
Last update
..
64bit_arm.go Loading commit data...
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_amd64p32.s Loading commit data...
asm_arm.s Loading commit data...
asm_freebsd_arm.s Loading commit data...
asm_linux_arm.s Loading commit data...
asm_netbsd_arm.s Loading commit data...
atomic_linux_arm_test.go Loading commit data...
atomic_test.go Loading commit data...
doc.go Loading commit data...
export_linux_arm_test.go Loading commit data...
race.go Loading commit data...