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

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 5 14:46:27 PDT 2018


maksfb created this revision.
maksfb added reviewers: rafaelauler, ruiu, MaskRay, plotfi.
Herald added subscribers: llvm-commits, JDevlieghere.

If the encoding is not specified in CIE augmentation string, then it
should be DW_EH_PE_absptr instead of DW_EH_PE_omit.


Repository:
  rL LLVM

https://reviews.llvm.org/D49000

Files:
  lib/DebugInfo/DWARF/DWARFDebugFrame.cpp


Index: lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
===================================================================
--- lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+++ lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
@@ -403,7 +403,7 @@
 
       // Parse the augmentation data for EH CIEs
       StringRef AugmentationData("");
-      uint32_t FDEPointerEncoding = DW_EH_PE_omit;
+      uint32_t FDEPointerEncoding = DW_EH_PE_absptr;
       uint32_t LSDAPointerEncoding = DW_EH_PE_omit;
       Optional<uint64_t> Personality;
       Optional<uint32_t> PersonalityEncoding;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49000.154319.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180705/423e3cee/attachment.bin>


More information about the llvm-commits mailing list