[FYI patch] Produce multiple .eh_frame sections

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 10:52:44 PST 2015


Attached is a patch I wrote as an experiment.

It produces multiple .eh_frame sections. One per comdat. The theory
being that it could avoid some of the special handling for .eh_frame.

The patch works fine, but unfortunately it slows down bfd and crashes
gold. It is easy to work around the crash (revert
https://sourceware.org/ml/binutils/2009-06/msg00097.html), but with
that gold also slows down.

Given that, I don't think we should do apply this. Just sending it in
case someone else wants to experiment with it.

I will now implement the special case treatment of .eh_frame in lld.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 7113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/05596382/attachment-0001.bin>


More information about the llvm-commits mailing list