[lld] r251043 - ELF2: Implement --gc-sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 14:45:39 PDT 2015


Thanks, done in r251068.

This change also includes code to keep .jcr sections.

On Thu, Oct 22, 2015 at 2:39 PM, Joerg Sonnenberger <joerg at britannica.bec.de
> wrote:

> On Thu, Oct 22, 2015 at 05:32:23PM -0400, Rafael EspĂ­ndola via
> llvm-commits wrote:
> > BTW, I just noticed one problem: .eh_frame.
> >
> > It is a magical section that needs to be kept alive when data it
> > refers to is kept alive. I.E.: we have to invert the edges.
> >
> > For now I would suggest just keeping all .eh_frame sections.
>
> See my earlier comment, there are a few more sections like that.
>
> Joerg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151022/d23cb1ea/attachment.html>


More information about the llvm-commits mailing list