• Austin Clements's avatar
    cmd/compile: mark function Syms · 16e6cd9a
    Austin Clements authored
    In order to mark the obj.LSyms produced by the compiler with the
    correct ABI, we need to know which types.Syms refer to function
    symbols. This CL adds a flag to types.Syms to mark symbols for
    functions, and sets this flag everywhere we create a PFUNC-class node,
    and in the one place where we directly create function symbols without
    always wrapping them in a PFUNC node (methodSym).
    
    We'll use this information to construct obj.LSyms with correct ABI
    information.
    
    For #27539.
    
    Change-Id: Ie3ac8bf3da013e449e78f6ca85546a055f275463
    Reviewed-on: https://go-review.googlesource.com/c/147158
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Chase <drchase@google.com>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    16e6cd9a
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...