This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] --export should fetch lazy symbols
ClosedPublic

Authored by sbc100 on Aug 3 2018, 5:14 PM.

Details

Summary

--export now implies --undefined.

This is really a requirement from emscripten but I think it
makes sense in general too.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Aug 3 2018, 5:14 PM
sbc100 added a comment.Aug 3 2018, 5:15 PM

Second attempt at this change since I think it makes sense. Otherwise emscripten would need to pass --export=foo and --undefined=foo for each symbol which seems redundant.

sbc100 added a reviewer: ruiu.Aug 3 2018, 5:15 PM
sbc100 updated this revision to Diff 159142.Aug 3 2018, 5:18 PM
  • update test
sbc100 edited the summary of this revision. (Show Details)Aug 6 2018, 9:42 AM
sbc100 added a reviewer: dschuff.
dschuff accepted this revision.Aug 6 2018, 12:36 PM
This revision is now accepted and ready to land.Aug 6 2018, 12:36 PM
This revision was automatically updated to reflect the committed changes.