This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Add support for --whole-archive.
ClosedPublic

Authored by sbc100 on Jul 23 2018, 4:21 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Jul 23 2018, 4:21 PM
ruiu added a subscriber: ruiu.Jul 23 2018, 4:26 PM
ruiu added inline comments.
wasm/Driver.cpp
189 ↗(On Diff #156916)

Maybe you should move this function to Common.

sbc100 updated this revision to Diff 156919.Jul 23 2018, 4:26 PM
sbc100 removed a subscriber: ruiu.
  • revert
sbc100 added a reviewer: ruiu.Jul 23 2018, 4:26 PM

I did consider that, but the COFF version is slightly different. Perhaps as a followup to keep this change strictly wasm-only?

ruiu accepted this revision.Jul 23 2018, 4:33 PM

LGTM

Yeah, actually the ELF lld's versions of the function is also slightly different, so it might be a bit hard to merge them to a single function.

This revision is now accepted and ready to land.Jul 23 2018, 4:33 PM
This revision was automatically updated to reflect the committed changes.