[PATCH] D111863: [libunwind] Add an interface for dynamic .eh_frame registration

Peter S. Housel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 22:42:01 PDT 2021


housel added a comment.

It's also worth noting that FreeBSD's version of libgcc exception handling is actually based on the libunwind code, with a local patch <https://cgit.freebsd.org/src/tree/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c#n241> that implements compatibility with libgcc `__register_frame` by changing it to parse an entire `.eh_frame` section (in a slightly more ad hoc fashion than this code). Having this new entry point in-tree would simplify the FreeBSD local changes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111863/new/

https://reviews.llvm.org/D111863



More information about the llvm-commits mailing list