Skip to content

EM_ASM in gl.c loses its argument when compiling with LLVM wasm backend #5496

@dschuff

Description

@dschuff

system/lib/gl.c has an EM_ASM at the end: https://github.com/kripken/emscripten/blob/6dc4ac5f9e4d8484e273e4dcc554f809738cedd6/system/lib/gl.c#L1731
When building with upstream clang with the wasm backend, it doesn't work properly (when tested with BananaBread) and needs to be commented out.
Previously @jgravelle-google said it wasn't getting the correct IR in clang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions