This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Fix spurious signature mismatch warnings
ClosedPublic

Authored by sbc100 on Aug 30 2019, 11:29 AM.

Details

Summary

This a follow up on: https://reviews.llvm.org/D62153

Handle the case where there are multiple object files that contain
undefined references to the same function. We only generate a function
variant if the existing symbol is directly called.

See: https://github.com/emscripten-core/emscripten/issues/8995

Event Timeline

sbc100 created this revision.Aug 30 2019, 11:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2019, 11:29 AM
dschuff accepted this revision.Aug 30 2019, 12:36 PM
This revision is now accepted and ready to land.Aug 30 2019, 12:36 PM
This revision was automatically updated to reflect the committed changes.