• Russ Cox's avatar
    syscall: make func Syscall use pointer maps from Go prototypes · 4179439d
    Russ Cox authored
    Before, Syscall and friends were having their arguments
    treated conservatively. Now they will use the Go prototype,
    which will mean the arguments are not considered pointers
    at all.
    
    This is safe because of CL 139360044.
    
    The fact that all these non-Solaris systems were using
    conservative scanning of the Syscall arguments is why
    the failure that prompted CL 139360044 was only
    observed on Solaris, which does something completely different.
    If we'd done this earlier, we'd have seen the Solaris
    failure in more places.
    
    LGTM=khr
    R=khr
    CC=golang-codereviews
    https://golang.org/cl/144730043
    4179439d
asm_plan9_amd64.s 2.86 KB