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

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 14 21:06:35 PDT 2021


MaskRay added a comment.

I looked at the libgcc mechanism at one time. I remember that most cases just use `PT_GNU_EH_FRAME` and these eh_frame boundary registry functions are not needed.
Can ORC just use `PT_GNU_EH_FRAME`?

Clang passes `--eh-frame-hdr` to ld even in `-static` mode, unlike GCC. I assume ORC doesn't need to support `gcc -static` (or: requires `-Wl,--eh-frame-hdr`).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111863



More information about the libcxx-commits mailing list