This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] stub objects: Fix handling of LTO libcall dependencies
ClosedPublic

Authored by sbc100 on Apr 13 2023, 6:39 PM.

Details

Summary

This actually simplifies the code by performs a pre-pass of the stub
objects prior to LTO.

This should be the final change needed before we can make the switch
on the emscripten side: https://github.com/emscripten-core/emscripten/pull/18905

Diff Detail

Event Timeline

sbc100 created this revision.Apr 13 2023, 6:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2023, 6:39 PM
Herald added subscribers: pmatos, asb, ormris and 8 others. · View Herald Transcript
sbc100 requested review of this revision.Apr 13 2023, 6:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2023, 6:39 PM
sbc100 updated this revision to Diff 513409.Apr 13 2023, 6:40 PM
  • make diff simpler
sbc100 updated this revision to Diff 513410.Apr 13 2023, 6:42 PM
  • shrink diff
dschuff accepted this revision.Apr 13 2023, 7:33 PM
This revision is now accepted and ready to land.Apr 13 2023, 7:33 PM
This revision was landed with ongoing or failed builds.Apr 13 2023, 8:32 PM
This revision was automatically updated to reflect the committed changes.