cmd/compile: make argument size of -S output more accurate #29334
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
I would like to seek clarification about the correct argument size for assembly functions. Specifically,
asmdecl
requires different sizes from those reported bygo tool compile -S
. See the following gist for an example:https://gist.github.com/mmcloughlin/598774c255f40605e613ffb3361e240c
I'll copy the main points here. The function implemented is:
with assembly
go tool compile -S
reports argument size 16while
asmdecl
requires size 9Is this behaving as intended?
cc @alandonovan @josharian
The text was updated successfully, but these errors were encountered: