Go to file
Momchil Velikov 81806c5d4d [libunwind] Handle .ARM.exidx tables without sentinel last entry
UnwindCursor<A, R>::getInfoFromEHABISection assumes the last
entry in the index table never corresponds to a real function.
Indeed, GNU ld always inserts an EXIDX_CANTUNWIND entry,
containing the end of the .text section. However, the EHABI specification
(http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038b/IHI0038B_ehabi.pdf)
does not seem to contain text that requires the presence of a sentinel entry.
In that sense the libunwind implementation isn't compliant with the specification.

This patch makes getInfoFromEHABISection examine the last entry in the index
table if upper_bound returns the end iterator.

Fixes https://bugs.llvm.org/show_bug.cgi?id=31091

Differential revision: https://reviews.llvm.org/D35265

llvm-svn: 308871
2017-07-24 09:19:32 +00:00
clang [X86][InlineAsm][Ms Compatibility]Prefer variable name over a register when the two collides 2017-07-24 07:06:37 +00:00
clang-tools-extra clangDaemon: Update libdeps in r308738. 2017-07-21 23:48:26 +00:00
compiler-rt [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Fix grammar-o in comment. 2017-07-22 15:16:42 +00:00
libcxxabi Update version to 6.0.0svn 2017-07-19 13:42:18 +00:00
libunwind [libunwind] Handle .ARM.exidx tables without sentinel last entry 2017-07-24 09:19:32 +00:00
lld Handle a section being more aligned than a page size. 2017-07-22 00:17:57 +00:00
lldb Revert "Fix PR33875 by distinguishing between DWO and clang modules" 2017-07-23 20:24:41 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [X86][AVX512] Add patterns for masked AVX512 floating point compare instructions that were missing. 2017-07-24 08:10:32 +00:00
openmp Whitespace. 2017-07-20 23:12:39 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Convert GPUNodeBuilder::getArraySize to islcpp. 2017-07-24 09:08:21 +00:00