• Russ Cox's avatar
    runtime: correct various Go -> C function calls · e3edfea0
    Russ Cox authored
    Some things get converted.
    Other things (too complex or too many C deps) get onM calls.
    Other things (too simple) get #pragma textflag NOSPLIT.
    
    After this CL, the offending function list is basically:
            - panic.c
            - netpoll.goc
            - mem*.c
            - race stuff
            - readgstatus
            - entersyscall/exitsyscall
    
    LGTM=r, iant
    R=golang-codereviews, r, iant
    CC=dvyukov, golang-codereviews, khr
    https://golang.org/cl/140930043
    e3edfea0
runtime.c 7.35 KB