This is an archive of the discontinued LLVM Phabricator instance.

[LLD][ELF] Add test cases for range extension thunks using linker scripts
AbandonedPublic

Authored by peter.smith on Apr 4 2017, 4:49 AM.

Details

Reviewers
ruiu
rafael
Summary

Test cases for range extension thunks using linker scripts, include:

  • OutputSections placed far apart
  • OutputSections with location counter expressions
  • Multiple large OutputSections
  • Orphan sections
  • Interaction with the SORT command

Diff Detail

Event Timeline

peter.smith created this revision.Apr 4 2017, 4:49 AM

Updated diff to account for changes in padding between sections and switch to use InputSectionDescriptions rather than OutputSections.

This is the final 11/11 patch of the range thunks series.

ruiu edited edge metadata.Jul 11 2017, 6:58 PM

You probably want to submit them as part of the patches that implements the actual feature.

peter.smith abandoned this revision.Jul 13 2017, 9:12 AM

I've added these tests into D34691 so this revision is no longer needed.