This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Refactor linker-generated symbols. NFC.
ClosedPublic

Authored by sbc100 on Feb 2 2018, 1:53 PM.

Details

Summary

Group all sythetic symbols in the in single struct to match
the ELF linker.

This change is part of a larger change to add more linker
symbols such as _end and _edata.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

sbc100 created this revision.Feb 2 2018, 1:53 PM
sbc100 updated this revision to Diff 132671.Feb 2 2018, 1:55 PM
  • [WebAssembly] Add _edata, _end and other link-sythentic symbols
sbc100 updated this revision to Diff 132672.Feb 2 2018, 1:55 PM
  • revert
sbc100 retitled this revision from [WebAssembly] Refactor linker-generated symbols to [WebAssembly] Refactor linker-generated symbols. NFC..Feb 2 2018, 1:56 PM
sbc100 added reviewers: ruiu, ncw.
sbc100 updated this revision to Diff 132674.Feb 2 2018, 1:58 PM
  • spelling
sbc100 updated this revision to Diff 132676.Feb 2 2018, 1:59 PM
  • revert part
sbc100 updated this revision to Diff 132677.Feb 2 2018, 2:01 PM
  • refactor loop
ruiu accepted this revision.Feb 2 2018, 2:35 PM

LGTM

This revision is now accepted and ready to land.Feb 2 2018, 2:35 PM
This revision was automatically updated to reflect the committed changes.