llvm-project/libunwind/test
Ryan Prichard b16d6653c0 [libunwind] Combine dl_iterate_phdr codepaths for DWARF and EHABI
dl_iterate_phdr is used to search for unwind info provided by either
PT_GNU_EH_FRAME or PT_ARM_EXIDX. Most of the code between the two is
the same, so combine them, and factor out what's different into
checkForUnwindInfoSegment.

Details:
 - The FrameHeaderCache can now be enabled for ARM EHABI.
 - findUnwindSectionsByPhdr now finds the last PT_ARM_EXIDX rather than
   the first. There should only be one segment.
 - The dso_base and text_segment_length fields of UnwindInfoSections
   are now needed for dl_iterate_phdr when using EHABI, to hold the
   low and high PC values for a cache entry.

Reviewed By: compnerd, danielkiss, #libunwind, saugustine

Differential Revision: https://reviews.llvm.org/D87880
2020-09-23 15:40:39 -07:00
..
libunwind [runtimes] Move the enable_rtti Lit parameter to the DSL 2020-07-16 12:56:00 -04:00
CMakeLists.txt [libunwind] Make the test depend on the libunwind explicitly. 2020-08-03 09:46:23 +02:00
alignment.pass.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
frameheadercache_test.pass.cpp [libunwind] Combine dl_iterate_phdr codepaths for DWARF and EHABI 2020-09-23 15:40:39 -07:00
libunwind_01.pass.cpp [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI 2019-10-03 17:01:04 +00:00
libunwind_02.pass.cpp
lit.cfg.py [libunwind] Allow specifying custom Lit config files 2020-06-25 12:15:15 -04:00
lit.site.cfg.in [libunwind] Support for leaf function unwinding. 2020-09-18 15:09:42 +02:00
remember_state_leak.pass.sh.s [libunwind] Fix incorrect lit substitutions in tests 2020-04-08 10:50:09 -04:00
signal_frame.pass.cpp Reland "Enable `-funwind-tables` flag when building libunwind" 2019-12-11 04:27:04 +03:00
signal_unwind.pass.cpp [libunwind] Support for leaf function unwinding. 2020-09-18 15:09:42 +02:00
unw_getcontext.pass.cpp
unwind_leaffunction.pass.cpp [libunwind] Support for leaf function unwinding. 2020-09-18 15:09:42 +02:00