-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Function signatures generate incorrect argument size #195
Comments
Sorry I missed this. I've seen something similar to this before and I wonder if it's related: golang/go#39220. |
Ah... I might have responded to quickly there. This could be an |
Yes this seems to have been the exact same thing. I landed a regression test in #214. |
I believe this is fixed, with an extensive test added in #216. Tagged release v0.3.1. |
avo:
TEXT("Example", NOSPLIT|NOFRAME, "func(x *uint64, y uint32)")
asm:
TEXT ·Example(SB), NOSPLIT|NOFRAME, $0-16
go vet
complains./bug.s:6:1: [amd64] Example: wrong argument size 16; expected $...-12
This may very well be
go vet
being silly, but I'm not sure if there's supposed to be padding there or not.The text was updated successfully, but these errors were encountered: