[llvm-dev] [RFC] Making .eh_frame more linker-friendly

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 26 11:55:32 PDT 2017


On Thu, Oct 26, 2017 at 11:19 AM, Rui Ueyama <ruiu at google.com> wrote:

> No I haven't. Thank you for the pointer.
>
> Looks like the problem of the inverted edges was discussed there. But I
> guess my bigger question is this: why do we still create one big .eh_frame
> even if -ffunction-sections is given?
>
> When the option is given, Clang creates .text, .rela.text and
> .gcc_exception_table sections for each function, but it still creates a
> monolithic .eh_frame that covers all function sections, which seems odd to
> me.
>

I agree, we should fix it. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171026/7bd04006/attachment.html>


More information about the llvm-dev mailing list