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

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 14:39:31 PDT 2015


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


More information about the llvm-commits mailing list