-
Notifications
You must be signed in to change notification settings - Fork 920
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
error: verification error after IR construction #351
Comments
Verified that I can reproduce same issue on my machine. |
From using $ git bisect bad 3c2639ad5520434a37488cedf3917630e7266964
Bisecting: 0 revisions left to test after this (roughly 1 step)
[371c468e8efcc6c415c4e955e69fc6072698f578] compiler: add debug info for function arguments |
Thanks, will have to investigate. As a workaround, you can add |
Thinking of it, perhaps we should also run the driver smoke tests as part of the compiler CI? That would catch bugs like these. |
I was thinking about exactly that. Seems like a very good idea. |
... really weird, a function is being defined twice. And the first one is incorrect. This is probably an already existing bug that only surfaces after adding debug info. |
This is the cause: golang/go@ad4a58e |
See #352. |
Verified locally: $ tinygo build -size short -o ./build/test.elf -target=itsybitsy-m0 ./examples/espat/espconsole/main.go
code data bss | flash ram
23184 1420 4468 | 24604 5888 Looks good! |
When building the https://github.com/tinygo-org/drivers/tree/master/examples/espat/espconsole example as part of the build in the smoke test, the following error is now appearing:
The text was updated successfully, but these errors were encountered: