[PATCH] D34093: ELF: Move section merging before ICF. NFCI.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 11 16:38:29 PDT 2017


pcc added inline comments.


================
Comment at: lld/ELF/Driver.cpp:1020-1021
                       S->uncompress();
                     if (auto *MS = dyn_cast<MergeInputSection>(S))
                       MS->splitIntoPieces();
                   });
----------------
ruiu wrote:
> Should we move this to `mergeSections`?
Seems reasonable. It'll need to be called something like `decompressAndMergeSections`, but that's probably fine.


https://reviews.llvm.org/D34093





More information about the llvm-commits mailing list