This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Add support for bitcode archive members
ClosedPublic

Authored by sbc100 on Jun 27 2018, 2:19 PM.

Details

Summary

This change effects the behaviour of --export-all. Previously --export-all would only
effect symbols that survived GC. Now --export-all will prevent any non-local
symbols from being GCed.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Jun 27 2018, 2:19 PM
sbc100 added a reviewer: ruiu.Jun 27 2018, 2:20 PM
sbc100 added a reviewer: pcc.
sbc100 updated this revision to Diff 153235.Jun 27 2018, 6:16 PM

Use includeInExports() to determine GC roots

sbc100 edited the summary of this revision. (Show Details)Jun 27 2018, 6:21 PM
sbc100 updated this revision to Diff 153237.Jun 27 2018, 6:26 PM
  • update test
ruiu accepted this revision.Jun 28 2018, 1:29 AM

LGTM

wasm/Symbols.cpp
101 ↗(On Diff #153237)

exported might be a better name?

This revision is now accepted and ready to land.Jun 28 2018, 1:29 AM
sbc100 updated this revision to Diff 153343.Jun 28 2018, 10:08 AM
sbc100 marked an inline comment as done.
  • feedback
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.