[PATCH] D22786: Split LinkerScript::createSections into small functions.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 15:54:45 PDT 2016
ruiu created this revision.
ruiu added reviewers: davide, grimar, evgeny777.
ruiu added a subscriber: llvm-commits.
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.
https://reviews.llvm.org/D22786
Files:
ELF/LinkerScript.cpp
ELF/LinkerScript.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22786.65433.patch
Type: text/x-patch
Size: 4862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160725/fa4167fd/attachment.bin>
More information about the llvm-commits
mailing list