This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Add symbol flag to the binary format corresponding to llvm.used
ClosedPublic

Authored by sbc100 on Feb 6 2019, 4:21 PM.

Details

Summary

Rather than add a new attribute for forcing the symbol to be alive and exported
in the final wasm binary we can use the existing llvm.used/no_dead_strip
mechanism.

See https://github.com/WebAssembly/tool-conventions/issues/64

Diff Detail

Event Timeline

sbc100 created this revision.Feb 6 2019, 4:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2019, 4:21 PM
sbc100 updated this revision to Diff 185672.Feb 6 2019, 4:25 PM
  • update obj2yaml
sbc100 retitled this revision from [WebAssembly] Add symbol flag to the binary format llvm.used to [WebAssembly] Add symbol flag to the binary format corresponding to llvm.used.Feb 6 2019, 4:35 PM
sbc100 edited the summary of this revision. (Show Details)
sbc100 added reviewers: dschuff, kripken.
dschuff accepted this revision.Feb 6 2019, 5:14 PM
This revision is now accepted and ready to land.Feb 6 2019, 5:14 PM
This revision was automatically updated to reflect the committed changes.