HA: [PATCH] D15712: [ELF] - implemented --eh-frame-hdr command line option.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 06:44:34 PST 2015

>On Tue, Dec 22, 2015 at 12:38:00PM +0000, George Rimar via llvm-commits wrote:
>> Request creation of ".eh_frame_hdr" section and ELF "PT_GNU_EH_FRAME" segment header.
>Actually, I would favor making this the default and effectively only implementing
>the negative version. I.e.: always create PT_GNU_EH_FRAME unless
>explicitly requested.
>Does anything actually use the section? The segment header entry is for
>primarily for programs like the dynamic linker, but I'm not aware of
>anything using the section.

Thats probably good idea to make it default.
Not sure I correctly understood your question about who uses the section.
Section itself contains the sorted lookup table. So it is used by runtime unwinder. Segment header is required to find that section.

More information about the llvm-commits mailing list