[PATCH] D43069: [ELF] - Report error if removed empty output section used undefined symbols.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 02:19:12 PST 2018


>This would already work if there was an input .bar section, no?
>How about changing isAllSectionDescription so that we mark as live any
>"fancy" section. That is, any section that specifies an address,
>physical address or alignment.
>
>That seems in line with lld keeping more sections than bfd. It should
>not pollute the output too much as I think those constructs are not that
>common.
>
>Cheers,
>Rafael

Sounds good for me, I'll try this.

George.


More information about the llvm-commits mailing list