Skip to content

[emscripten-finalize] longjmp rewriter fails to update GOT #2180

Closed
@Keno

Description

@Keno

The fixInvokeFunctionNames pass in emscripten-finalize rewrites the function and import for emscripten_longjmp_jmpbuf to emscripten_longjmp, but doesn't do anything to any potential GOT entries that may be present in the module. This causes a fatal error later in the same utility:

Fatal: GOT.func entry with no import/export: $emscripten_longjmp_jmpbuf

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