[PATCH] D52459: [ELF] - Use output section prediction when creating mergeable synthetic sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 26 02:29:11 PDT 2018


grimar added a comment.

In https://reviews.llvm.org/D52459#1246035, @NickHung wrote:

> Filename matching seems not to be considered in this patch.
>
> A test case for your reference.
>
>   SECTIONS {
>   .rodata_A : { a.o(.rodata.foo) }
>   .rodata_B : { b.o(.rodata.foo) }
>   }


Yes, it was not the intention to support it here. Filename matching should be
not hard to do with this approach though.


https://reviews.llvm.org/D52459





More information about the llvm-commits mailing list