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

George Rimar via llvm-dev
2017-11-20T17:13:18Z

>I tried to investigate how to implement this and suddenly found that Rafael
>looks already tried to to the same in 2015:
https://marc.info/?l=llvm-commits&m=144683596826489.

Clarification: not the same, but something close. At least there are multiple
.eh_frame sections in output.

As far I understand what we need for this experiment is for each text section
emit its own .eh_frame and set
SHF_LINK_ORDER and sh_link field for the latter pointing to .text section. Looks
code from patch above
can be adopted to do that.

George.