This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Apply data relocation in parallel. NFC.
ClosedPublic

Authored by sbc100 on Dec 19 2017, 11:53 AM.

Details

Summary

Store data relocations with their respective segment.
This allows reloctions to be applied as each segment
is written (and therefore in parallel).

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Dec 19 2017, 11:53 AM
sbc100 edited the summary of this revision. (Show Details)Dec 19 2017, 12:35 PM
sbc100 added reviewers: ruiu, ncw.
sbc100 updated this revision to Diff 127587.Dec 19 2017, 12:39 PM
sbc100 edited the summary of this revision. (Show Details)
  • store relocs in input segments
This revision was not accepted when it landed; it landed in state Needs Review.Dec 19 2017, 12:46 PM
This revision was automatically updated to reflect the committed changes.
ncw added a comment.Dec 19 2017, 1:47 PM

Looks nice. My changes for pruning functions/segments rely on the relocations happening nice and late, so that we don't try and generate the index of a function that's being pruned. There changes all help with that, ensuring that we don't need the relocations to be "resolvable" for code that we're discarding.