This is an archive of the discontinued LLVM Phabricator instance.

[LLD][ELF] Allow multiple thunks to be added for a symbol.

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



This change permits there to be more than one thunk to be associated with a symbol. For interworking thunks we only require one thunk, but range extension thunks may require more than one.

Diff Detail

Event Timeline

peter.smith created this revision.Apr 4 2017, 4:08 AM
peter.smith updated this revision to Diff 94207.Apr 5 2017, 5:47 AM

Rebase to account for changes made in D31654

peter.smith abandoned this revision.May 16 2017, 7:35 AM

I'm abandoning the range thunks implementation that inserts into OutputSections in favour of an implementation that inserts into InputSectionDescription.