Skip to content

Fix linking.wast error on Win32 #34

Description

@ErikMcClure

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsThis issue is specific to Windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions