This is an archive of the discontinued LLVM Phabricator instance.

[LLD][ELF] Refactor ThunkCreator to not key on OutputSection for Thunks
ClosedPublic

Authored by peter.smith on Jun 2 2017, 7:57 AM.

Details

Summary

In preparation for inserting Thunks into InputSectionDescriptions this simple change associates added Thunks with a vector of InputSections instead of an OutputSection. As of now we are just using OutputSection::Sections.

This is patch 1 of 3 of converting createThunks to insert into InputSectionDescriptions.

Diff Detail

Repository
rL LLVM

Event Timeline

peter.smith created this revision.Jun 2 2017, 7:57 AM
ruiu accepted this revision.Jun 5 2017, 7:33 AM

LGTM

This revision is now accepted and ready to land.Jun 5 2017, 7:33 AM
This revision was automatically updated to reflect the committed changes.