If the encoding is not specified in CIE augmentation string, then it
should be DW_EH_PE_absptr instead of DW_EH_PE_omit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
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.
Comment Actions
@MaskRay this was originally reported here: https://github.com/facebookincubator/BOLT/issues/23
Apparently, this happens in binaries generated by icc.