[all-commits] [llvm/llvm-project] 2ba4df: [DebugInfo] Fix dumping CIE ID in .eh_frame sections.
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Thu Feb 13 00:45:44 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2ba4df6c1177bd279ae3111ef2e0b0130faa3ead
https://github.com/llvm/llvm-project/commit/2ba4df6c1177bd279ae3111ef2e0b0130faa3ead
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2020-02-13 (Thu, 13 Feb 2020)
Changed paths:
M lld/test/ELF/eh-frame-hdr-augmentation.s
M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
M llvm/test/DebugInfo/RISCV/eh-frame.s
M llvm/test/MC/Mips/eh-frame.s
M llvm/test/MC/X86/return-column.s
M llvm/test/tools/llvm-dwarfdump/X86/eh-frame-return-address-reg.s
M llvm/test/tools/llvm-objdump/eh_frame-arm64.test
M llvm/test/tools/llvm-objdump/eh_frame-coff.test
M llvm/test/tools/llvm-objdump/eh_frame-mipsel.test
M llvm/test/tools/llvm-objdump/eh_frame_zero_cie.test
Log Message:
-----------
[DebugInfo] Fix dumping CIE ID in .eh_frame sections.
We do not keep the actual value of the CIE ID field, because it is
predefined, and use a constant when dumping a CIE record. The issue
was that the predefined value is different for .debug_frame and
.eh_frame sections, but we always printed the one which corresponds
to .debug_frame. The patch fixes that by choosing an appropriate
constant to print.
See the following for more information about .eh_frame sections:
https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/ehframechpt.html
Differential Revision: https://reviews.llvm.org/D73627
More information about the All-commits
mailing list