[PATCH] D27415: [ELF] - Replace MergeOutputSection with synthetic input section MergeSection.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 08:32:49 PST 2017
grimar added inline comments.
================
Comment at: ELF/SyntheticSections.cpp:105
// The returned object is a mergeable string section.
-template <class ELFT> MergeInputSection<ELFT> *elf::createCommentSection() {
+template <class ELFT> MergeSyntheticSection<ELFT> *elf::createCommentSection() {
typename ELFT::Shdr Hdr = {};
----------------
I did the change here to reduce amount of testcases failed.
Since comment section is converted to MergeSyntheticSection later, it is changes it's order
and brokes many testcases. To avoid that - I am creating it as merge synthetic section initially.
I know that probably not the best idea, though it is relative to what this patch do, is it ok to do ?
https://reviews.llvm.org/D27415
More information about the llvm-commits
mailing list