[llvm] r336577 - [DebugInfo] Change default value of FDEPointerEncoding
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 9 11:45:38 PDT 2018
Author: maks
Date: Mon Jul 9 11:45:38 2018
New Revision: 336577
URL: http://llvm.org/viewvc/llvm-project?rev=336577&view=rev
Log:
[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
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp?rev=336577&r1=336576&r2=336577&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp Mon Jul 9 11:45:38 2018
@@ -399,7 +399,7 @@ void DWARFDebugFrame::parse(DWARFDataExt
// 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;
More information about the llvm-commits
mailing list