This is an archive of the discontinued LLVM Phabricator instance.

Split LinkerScript::createSections into small functions.
ClosedPublic

Authored by ruiu on Jul 25 2016, 3:54 PM.

Details

Summary

createSections function is getting longer, so it is time to split it
into small functions. The reason why the function is long is because
it has deeply nested for-loops. This patch constructs temporary data
to reduce nesting level.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu updated this revision to Diff 65433.Jul 25 2016, 3:54 PM
ruiu retitled this revision from to Split LinkerScript::createSections into small functions..
ruiu updated this object.
ruiu added reviewers: davide, grimar, evgeny777.
ruiu added a subscriber: llvm-commits.
davide accepted this revision.Jul 25 2016, 3:56 PM
davide edited edge metadata.

lg. I have a patch that depends on this one. I'll submit the review after you commit.

This revision is now accepted and ready to land.Jul 25 2016, 3:56 PM
This revision was automatically updated to reflect the committed changes.