[PATCH] D43241: [ELF] - Do not crash with --emit-relocs and --icf=all together.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 00:51:43 PST 2018


>An interesting case that might clarify where this code should be is what
>ICF should do about SHF_LINK_ORDER.
>
>What happens if a section has SHF_LINK_ORDER and another otherwise
>identical one doesn't?
>
>Should ICF avoid merging the sections? Should it merge and keep the
>SHF_LINK_ORDER linked section?
>
>Cheers,
>Rafael

Yep. Patch for improving support of SHF_LINK_ORDER sections was D38180.
If you want, I can resurrect and rebase it too.

(A bit busy with PR36370 atm, but should finish it soon, probably today. 
After that was going to reimplement this patch).

George.


More information about the llvm-commits mailing list