Go to file
Peter Collingbourne c98de13871 ELF: Set FDE count in .eh_frame_hdr correctly.
It is possible to have FDEs with duplicate PCs if ICF was able to merge
functions with FDEs, or if the input files for some reason contained duplicate
FDEs.  We previously weren't handling this correctly when producing the
contents of the .eh_frame_hdr section; we were dropping entries and leaving
null entries at the end of the section, which confused consumers of unwind
data, such as the backtrace() function.

Fix the bug by setting the FDE count to the number of FDEs actually emitted
into .eh_frame_hdr, rather than the number of FDEs in .eh_frame.

Differential Revision: http://reviews.llvm.org/D18911

llvm-svn: 265957
2016-04-11 16:40:08 +00:00
clang [CLANG] [AVX512] [BUILTIN] Adding PSRA{Q|D|QI|DI}{128|256|512} builtin 2016-04-11 15:46:39 +00:00
clang-tools-extra [Release Notes] Sort checks alphabetically. 2016-04-08 17:21:27 +00:00
compiler-rt [sanitizer] Restore stderr when using forkpty() to spawn external symbolizer 2016-04-11 09:27:09 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc [AMDGPU] Implement get_local_size for amdgcn--amdhsa triple 2016-04-07 19:54:19 +00:00
libcxx Implement LWG#680, which was missed lo these many moons ago, and was reported as bug #27259. As a drive-by fix, replace the hand-rolled equivalent to addressof in __wrap_iter with the real thing. 2016-04-11 03:54:53 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld ELF: Set FDE count in .eh_frame_hdr correctly. 2016-04-11 16:40:08 +00:00
lldb Retry deletion of temporary files to avoid race conditions on Windows. 2016-04-11 15:21:01 +00:00
llgo benchcomp: Add a mode for analyzing rule execution time in ninja log files. 2016-04-08 22:42:22 +00:00
llvm TargetRegisterInfo: Add getRegAsmName() 2016-04-11 16:21:12 +00:00
openmp [STATS] Remove trailing whitespace in stats source files 2016-04-05 18:48:48 +00:00
polly Allow overflow of indices with constant dim-sizes. 2016-04-11 14:34:08 +00:00