• Carl Shapiro's avatar
    cmd/ld, runtime: emit pointer maps for nosplits identified by the linker · 037a1a9f
    Carl Shapiro authored
    A nosplits was assumed to have no argument information and no
    pointer map.  However, nosplits created by the linker often
    have both.  This change uses the pointer map size as an
    alternate source of argument size when processing a nosplit.
    
    In addition, the symbol table construction pointer map size
    and argument size consistency check is strengthened.  If a
    nptrs is greater than 0 it must be equal to the number of
    argument words.
    
    R=golang-dev, khr, khr
    CC=golang-dev
    https://golang.org/cl/9666047
    037a1a9f
pgen.c 8.23 KB