• Cherry Zhang's avatar
    cmd/compile: don't mark stack object symbol DUPOK · 1abe22c3
    Cherry Zhang authored
    Stack object symbol is named as <FunctionName>.stkobj. If the
    function itself is not DUPOK, its stack object symbol should only
    be defined in the package where the function is defined,
    therefore no duplicates.
    
    If in the future we change the stack object symbol to
    content-hash naming, as other gcdata symbols, we can mark it as
    DUPOK.
    
    Change-Id: I5aee96578940e2f76e7115d96cd2716021672c03
    Reviewed-on: https://go-review.googlesource.com/c/go/+/191437
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarKeith Randall <khr@golang.org>
    1abe22c3
obj.go 11.3 KB