[llvm-dev] [RFC] Making .eh_frame more linker-friendly
George Rimar via llvm-dev
llvm-dev at lists.llvm.org
Mon Nov 20 09:13:18 PST 2017
>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.
More information about the llvm-dev
mailing list