summaryrefslogtreecommitdiff
path: root/libunwind/src/FrameHeaderCache.hpp
AgeCommit message (Collapse)Author
2023-09-29[libunwind] Fix a -Wextra-semi warningAlex Richardson
2023-08-31[runtimes] Fix some duplicate word typosLouis Dionne
Those fixes were taken from https://reviews.llvm.org/D137338.
2020-09-16[libunwind][DWARF] Fix end of .eh_frame calculationRyan Prichard
* When .eh_frame is located using .eh_frame_hdr (PT_GNU_EH_FRAME), the start of .eh_frame is known, but not the size. In this case, the unwinder must rely on a terminator present at the end of .eh_frame. Set dwarf_section_length to UINTPTR_MAX to indicate this. * Add a new field, text_segment_length, that the FrameHeaderCache uses to track the size of the PT_LOAD segment indicated by dso_base. * Compute ehSectionEnd by adding sectionLength to ehSectionStart, never to fdeHint. Fixes PR46829. Differential Revision: https://reviews.llvm.org/D87750
2020-03-12Cache uwnind frame headers as they are found.Sterling Augustine
Summary: This improves unwind performance quite substantially, and follows a somewhat similar approach used in libgcc_s as described in the thread here: https://gcc.gnu.org/ml/gcc/2005-02/msg00625.html On certain extremely exception heavy internal tests, the time drops from about 80 minutes to about five minutes. Subscribers: libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D75954