[PATCH] D19656: [ELF] - keep alive all non-text sections referenced by .eh_frame

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 06:35:59 PDT 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

Patch implements one of suggestions from Rafael Ávila de Espíndola,
to fix segfault after section that contains personality being
garbage collected.

Suggestion was just to keep alive all non executable sections
referenced by .eh_frame.

This fixes PR27529.

http://reviews.llvm.org/D19656

Files:
  ELF/MarkLive.cpp
  test/ELF/eh-frame-gc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19656.55408.patch
Type: text/x-patch
Size: 3641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160428/3cbc233b/attachment.bin>


More information about the llvm-commits mailing list