This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Rename methods/members to match ELF backend. NFC.
ClosedPublic

Authored by sbc100 on Feb 26 2021, 4:07 PM.

Details

Summary

Specifically:

  • InputChunk::outputOffset -> outSecOffset
  • Symbol::get/setVirtualAddress -> get/setVA
  • add InputChunk::getOffset helper that takes an offset

These are mostly in preparation for adding support for
SHF_MERGE/SHF_STRINGS but its also good to align with ELF where
possible.

Diff Detail

Event Timeline

sbc100 created this revision.Feb 26 2021, 4:07 PM
sbc100 requested review of this revision.Feb 26 2021, 4:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 26 2021, 4:07 PM
sbc100 retitled this revision from [lld][WebAssembly] Rename methods/members members to match ELF backend. NFC. to [lld][WebAssembly] Rename methods/members to match ELF backend. NFC..Feb 26 2021, 4:16 PM
dschuff accepted this revision.Feb 26 2021, 4:56 PM
This revision is now accepted and ready to land.Feb 26 2021, 4:56 PM
This revision was landed with ongoing or failed builds.Feb 26 2021, 5:08 PM
This revision was automatically updated to reflect the committed changes.