George Rimar
f6bc65a3b2
Reapply r257753 with fix:
...
Added check for terminator CIE/FDE which has zero data size.
void EHOutputSection<ELFT>::addSectionAux(
...
// If CIE/FDE data length is zero then Length is 4, this
// shall be considered a terminator and processing shall end.
if (Length == 4)
break;
...
After this "Bug 25923 - lld/ELF2 linked application crashes if exceptions were used." is fixed for me. Self link of clang also works.
Initial commit message:
[ELF] - implemented --eh-frame-hdr command line option.
--eh-frame-hdr
Request creation of ".eh_frame_hdr" section and ELF "PT_GNU_EH_FRAME" segment header.
Both gold and the GNU linker support an option --eh-frame-hdr which tell them to construct a header for all the .eh_frame sections. This header is placed in a section named .eh_frame_hdr and also in a PT_GNU_EH_FRAME segment. At runtime the unwinder can find all the PT_GNU_EH_FRAME segments by calling dl_iterate_phdr.
This section contains a lookup table for quick binary search of FDEs.
Detailed info can be found here:
http://www.airs.com/blog/archives/462
Differential revision: http://reviews.llvm.org/D15712
llvm-svn: 257889
2016-01-15 13:34:52 +00:00
..
2016-01-15 13:34:52 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-11-18 06:11:01 +00:00
2016-01-11 14:22:00 +00:00
2015-12-23 15:20:38 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2016-01-11 14:15:17 +00:00
2016-01-11 14:15:17 +00:00
2015-12-05 06:20:24 +00:00
2015-11-18 06:11:01 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2015-12-05 06:20:24 +00:00
2016-01-15 01:49:51 +00:00
2016-01-13 13:04:46 +00:00
2016-01-11 14:27:05 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-07 05:02:38 +00:00
2016-01-07 05:02:38 +00:00
2016-01-07 05:02:38 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-07 02:35:32 +00:00
2016-01-07 02:35:32 +00:00
2016-01-07 02:35:32 +00:00
2015-11-18 06:11:01 +00:00
2016-01-07 02:35:32 +00:00
2016-01-11 19:45:33 +00:00
2016-01-07 02:35:32 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-14 22:04:35 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-11 18:49:29 +00:00
2015-12-11 19:09:21 +00:00
2016-01-07 02:35:32 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:56:04 +00:00
2015-11-19 19:08:45 +00:00
2015-12-23 15:20:38 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:52:27 +00:00
2015-12-24 20:44:06 +00:00
2016-01-15 13:34:52 +00:00
2016-01-15 13:34:52 +00:00
2016-01-15 13:34:52 +00:00
2015-12-21 09:38:59 +00:00
2015-11-18 06:11:01 +00:00
2015-11-23 15:28:28 +00:00
2015-11-18 06:11:01 +00:00
2015-12-25 09:51:42 +00:00
2015-11-18 06:11:01 +00:00
2015-12-19 05:51:49 +00:00
2015-11-20 02:32:35 +00:00
2015-11-20 02:32:35 +00:00
2015-11-20 02:32:35 +00:00
2015-12-11 17:46:46 +00:00
2015-11-18 06:11:01 +00:00
2015-12-10 09:12:18 +00:00
2015-12-24 09:52:11 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 18:48:16 +00:00
2015-12-21 10:12:06 +00:00
2015-12-21 10:12:06 +00:00
2015-12-21 10:12:06 +00:00
2015-12-21 10:12:06 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 23:42:33 +00:00
2015-11-24 10:15:50 +00:00
2015-12-21 10:00:12 +00:00
2016-01-06 15:52:27 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-17 09:23:40 +00:00
2015-12-17 09:23:40 +00:00
2015-12-17 09:23:40 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-07 02:35:32 +00:00
2015-11-26 05:53:00 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:52:27 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 18:48:16 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 18:48:16 +00:00
2015-11-24 18:48:16 +00:00
2015-11-24 18:48:16 +00:00
2015-11-25 20:58:52 +00:00
2015-11-24 10:15:50 +00:00
2015-11-18 06:11:01 +00:00
2015-12-19 05:51:49 +00:00
2015-11-18 06:11:01 +00:00
2015-12-23 15:20:38 +00:00
2016-01-12 17:31:45 +00:00
2015-12-29 21:09:26 +00:00
2015-12-16 14:45:09 +00:00
2015-12-13 06:49:08 +00:00
2015-12-13 06:49:01 +00:00
2016-01-14 20:42:09 +00:00
2015-12-21 17:36:40 +00:00
2015-12-20 10:57:34 +00:00
2016-01-14 21:34:50 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-23 15:20:38 +00:00
2015-12-23 15:20:38 +00:00
2015-12-23 15:20:38 +00:00
2015-11-26 09:49:44 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-23 15:20:38 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-11 19:45:33 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 18:48:16 +00:00
2015-11-24 18:48:16 +00:00
2015-11-24 18:48:16 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-10 22:53:24 +00:00
2015-12-23 15:20:38 +00:00
2016-01-11 13:25:21 +00:00
2016-01-06 15:52:27 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 18:48:16 +00:00
2015-11-18 06:11:01 +00:00
2015-12-11 08:59:37 +00:00
2015-12-11 08:59:37 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:52:27 +00:00
2016-01-06 15:52:27 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 10:15:50 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:52:27 +00:00
2016-01-06 15:52:27 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-07 02:35:32 +00:00
2015-11-18 06:11:01 +00:00
2015-11-24 18:48:16 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-02 09:58:20 +00:00
2015-12-01 19:20:26 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:52:27 +00:00
2015-11-25 20:41:53 +00:00
2015-11-18 06:11:01 +00:00
2016-01-06 15:52:27 +00:00
2016-01-06 15:52:27 +00:00
2015-12-09 09:55:54 +00:00
2016-01-06 15:52:27 +00:00
2015-12-21 10:37:33 +00:00
2015-11-25 21:46:05 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-12-17 09:23:40 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2016-01-07 17:20:07 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00
2015-11-18 06:11:01 +00:00