[PATCH] D49000: [DebugInfo] Change default value of FDEPointerEncoding

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 10:53:26 PDT 2018


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

The most relevant document about .eh_frame I can find is http://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/ehframechpt.html , which does not say what the default encoding for FDE pointers should be.

But the http://www.nongnu.org/libunwind/  implementation provides a default depending on address size http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob;f=src/dwarf/Gfde.c;h=9250b895eabebdaa964ab3ddefdaece8100593c6;hb=HEAD#l64
DW_EH_PE_absptr seems to do the same thing.


Repository:
  rL LLVM

https://reviews.llvm.org/D49000





More information about the llvm-commits mailing list