go/doc
Shenghou Ma 7aa68756c5 doc/asm: document that assembly function must use short name
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/2588
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-02-15 00:07:11 +00:00
..
articles
codewalk
devel
gopher
play
progs
asm.html
cmd.html
code.html
contrib.html
contribute.html
debugging_with_gdb.html
docs.html
effective_go.html
gccgo_contribute.html
gccgo_install.html
go-logo-black.png
go-logo-blue.png
go-logo-white.png
go1.1.html
go1.2.html
go1.3.html
go1.4.html
go1.5.txt
go1.html
go1compat.html
go_faq.html
go_mem.html
go_spec.html
help.html
ie.css
install-source.html
install.html
root.html
share.png
tos.html