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

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 19 02:24:41 PDT 2021


dim added a subscriber: emaste.
dim added a comment.

In D111863#3072023 <https://reviews.llvm.org/D111863#3072023>, @housel wrote:

> 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.

Adding @emaste since he added this part in:
https://github.com/freebsd/freebsd-src/commit/77ac8927fda49722185dab219365be31daed8872


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