From d2c77b0c039d4dd6f901caf20c692dd2dccef632 Mon Sep 17 00:00:00 2001 From: Maksim Panchenko Date: Mon, 9 Jul 2018 18:45:38 +0000 Subject: [PATCH] [DebugInfo] Change default value of FDEPointerEncoding Summary: If the encoding is not specified in CIE augmentation string, then it should be DW_EH_PE_absptr instead of DW_EH_PE_omit. Reviewers: ruiu, MaskRay, plotfi, rafauler Reviewed By: MaskRay Subscribers: rafauler, JDevlieghere, llvm-commits Differential Revision: https://reviews.llvm.org/D49000 llvm-svn: 336577 --- lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp index 6c61763e1ab..73333395f4c 100644 --- a/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp +++ b/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -399,7 +399,7 @@ void DWARFDebugFrame::parse(DWARFDataExtractor Data) { // 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 Personality; Optional PersonalityEncoding;