[libcxx-commits] [PATCH] D133846: [libunwind] Fix usage of `_dl_find_object` on 32-bit x86

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 15 18:42:25 PDT 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

In glibc, DLFO_STRUCT_HAS_EH_DBASE is only defined on i386 and nios2. We don't support nios2.

glibc/elf/dl-find_object.h says that when DLFO_STRUCT_HAS_EH_DBASE is 1, eh_dbase is the relocated DT_PLTGOT value.
I assume that means our DW_EH_PE_datarel is possibly wrong.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133846



More information about the libcxx-commits mailing list