This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Cleanup of LinkerScript<ELFT>::assignAddresses()
ClosedPublic

Authored by grimar on Jul 19 2016, 2:11 AM.

Details

Summary

I suggest this cleanup change because of two reasons:

  1. LinkerScript<ELFT>::assignAddresses is becoming larger and looks it can be good time for splitting.
  2. I expect to see more SectionsCommand's there, and dispatching some of them separatelly can help to keep method smaller either.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar updated this revision to Diff 64459.Jul 19 2016, 2:11 AM
grimar retitled this revision from to [ELF] - Cleanup of LinkerScript<ELFT>::assignAddresses().
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, evgeny777.
grimar updated this revision to Diff 64908.Jul 21 2016, 9:02 AM
  • Made dispatchAssignment as member to simplify.
This revision was automatically updated to reflect the committed changes.