Skip to content
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

Fix linking.wast error on Win32 #34

Open
ErikMcClure opened this issue Nov 13, 2019 · 0 comments
Open

Fix linking.wast error on Win32 #34

ErikMcClure opened this issue Nov 13, 2019 · 0 comments
Labels
bug Something isn't working windows This issue is specific to Windows

Comments

@ErikMcClure
Copy link
Contributor

An LLVM optimization pass is somehow producing invalid code for a specific linking.wast test, but only when optimizations are turned on (O1 is sufficient) and only on 32-bit windows.

The precise issue is unknown, but the end result is that a function gets inlined, and the now inlined parameter is set to a garbage value instead of the correct value. This may either be a very subtle undefined behavior issue, or it may be an actual bug in LLVM.

@ErikMcClure ErikMcClure added the bug Something isn't working label Nov 13, 2019
@ErikMcClure ErikMcClure added the windows This issue is specific to Windows label Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows This issue is specific to Windows
Projects
None yet
Development

No branches or pull requests

1 participant