[PATCH] D44494: [libunwind] Support __register_frame with a full .eh_frame section
Martin Storsjö via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 30 05:46:54 PDT 2018
mstorsjo updated this revision to Diff 140410.
mstorsjo edited the summary of this revision.
mstorsjo added a comment.
Herald added a subscriber: JDevlieghere.
Added and using a helper function `isCIE` to avoid using the error return path from `decodeFDE`.
Technically, the decision between a full section and a plain FDE probably should be outside of `_unw_add_dynamic_fde`, in `__register_frame` in `UnwindLevel1-gcc-ext.c`. That'd require adding a C wrapper for `isCIE` in `libunwind.cpp` though.
https://reviews.llvm.org/D44494
Files:
src/DwarfParser.hpp
src/UnwindCursor.hpp
src/libunwind.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44494.140410.patch
Type: text/x-patch
Size: 7872 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180330/d017bd8b/attachment.bin>
More information about the cfe-commits
mailing list