Rework findUnwindSectionsByPhdr to be more optimal.
Summary: - Executable segment is usually segment 3. Look there for the address first. - GNU_EH_FRAME_HEADER segment is usually near the end. Iterate from the end. - Exit early if both phdrs have been found. This is the last cl before a patch to cache the information this function finds. Subscribers: libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D75781
Loading
Please register or sign in to comment