• Shenghou Ma's avatar
    doc/asm: document that assembly function must use short name · 7aa68756
    Shenghou Ma authored
    e.g. ·Name instead of package·Name for automatic stack map to
    be applied from its Go prototype.
    
    The underlying reason is that liblink look up name with suffix
    ".args_stackmap" for the stackmap coming from its Go prototype,
    but all the Go functions are named "".Name as this stage. Thus
    an assembly function named package·Name will never find its
    stackmap, which is named "".package.Name.args_stackmap.
    
    Perhaps cmd/vet should give a warning for this.
    
    Change-Id: I10d154a73ec969d574d20af877f747424350fbd1
    Reviewed-on: https://go-review.googlesource.com/2588Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    7aa68756
Name
Last commit
Last update
..
articles Loading commit data...
codewalk Loading commit data...
devel Loading commit data...
gopher Loading commit data...
play Loading commit data...
progs Loading commit data...
asm.html Loading commit data...
cmd.html Loading commit data...
code.html Loading commit data...
contrib.html Loading commit data...
contribute.html Loading commit data...
debugging_with_gdb.html Loading commit data...
docs.html Loading commit data...
effective_go.html Loading commit data...
gccgo_contribute.html Loading commit data...
gccgo_install.html Loading commit data...
go-logo-black.png Loading commit data...
go-logo-blue.png Loading commit data...
go-logo-white.png Loading commit data...
go1.1.html Loading commit data...
go1.2.html Loading commit data...
go1.3.html Loading commit data...
go1.4.html Loading commit data...
go1.5.txt Loading commit data...
go1.html Loading commit data...
go1compat.html Loading commit data...
go_faq.html Loading commit data...
go_mem.html Loading commit data...
go_spec.html Loading commit data...
help.html Loading commit data...
ie.css Loading commit data...
install-source.html Loading commit data...
install.html Loading commit data...
root.html Loading commit data...
share.png Loading commit data...
tos.html Loading commit data...